Can't open NerdDinner project in vs2008 - nerddinner

NerdDinner.csproj won't load in vs2008 sp1 with .net 3.5 sp1. Am I not up-to-date on these tools or something? It complains this project type not supported on this installation.

Do you have the ASP.NET MVC Framework installed? If not, you need it. NerdDinner is an example of an MVC Framework project, and you won't be able to open it or run it without the ASP.NET MVC Framework installed.
You can find the appropriate installation information at http://www.asp.net or more specifically http://www.asp.net/mvc

In my I had to change the value of the "ProjectTypeGuids" in the project file. I copied them from another MVC project that I had created with my version of VS 2008.
This is the post that gave me the answer:
http://www.stuffthatjustworks.com/How+To+Fix+Xcsproj+Cannot+Be+Opened+The+Project+Type+Is+Not+Supported+By+This+Installation.aspx

In my case...it was the wrong version of the framework.
I just copied the from another asp.net mvc project I had made. (then you probably have to fix up the references, which is trivial with resharper :-) )

Related

ASP NET Core 2 with Full Framework

I am unable to find any documentation, or examples, of an ASP.NET MVC Core app running under the full framework. It is supposed to be supported, but as I said I cannot find any documentation of how to configure a project for this, and have not been able to work it out myself.
Has anyone got this working and can provide advice/sample on what needs to be done?
I am able to create/run ASP.NET Core 2.0 project with Full .NET framework 4.6.1, I followed below steps-
Created new project using ASP.NET Core web application under Web category-
On 2nd step, selected Web Application (Model-View-Controller)
csproj looks like this- <TargetFramework>net461</TargetFramework>
My Environment is-
Visual Studio 2017 Community 15.3.3 version
.NET Core 2.0 SDK

How to upgrade already developed ASP.NET framework 3.5 project to 4.5? [closed]

I have developed a web application project in asp.net 3.5 frame work(VS 2012). It's working fine in server side. Now I would like to upgrade its version to 4.5 to use the latest updates. How can I upgrade it? My friend told that, if I change the version I will lose my web.config file.
How can I upgrade the version without any side effects?
Just change the version of your project to .NET 4.5. I don't think there is a special migration path needed.
You won't lose your web.config file all of a sudden. You might need to do some migration of settings (just make a safe copy and see what you need to migrate), but they would most likely be quite easy and only applicable if you use specific parts of the framework for example or a different pipeline mode (but that is just specific to IIS, not your ASP.NET application).
There is a MSDN Article How to: Upgrade an ASP.NET Web Application to ASP.NET 4 which you can follow.
I think the magic word is "Visual Studio Conversion Wizard".

Getting Started using ASP.NET Boilerplate with a clean development environment

I came across ASP.NET Boilerplate http://www.aspnetboilerplate.com/ and want to get started using it to build a web-app. I am not a web developer: my day job is a software dev but I deal mostly in ActiveX/COM with some Javascript html and python.
I tried downloading a template and launching it with Visual Studio 2013 Express. I know I'm missing something.
After installing the package and opening the file FirstWebAppCoreModule.cs, I get errors like
The Type or Namespace Abp could not be found.
My question boils down to what are the steps I need to take to set up a development environment on a PC that has never been used for web dev. Sorry for any ignorance of basic concepts if I'm missing something easy..
I'm the author of the ASP.NET Boilerplate.
Try "Enable nuget package restore" (Right click to the solution). But even if you success to run the app, ABP is not something that is easy for a non-web developer. It's a tool that makes you fast if you have knowlegde on web dev and some best practices.
Even I was facing this issue but I have resolved this as abp requires dotnet framwork .NET Framework 4.5.2 but previously it was .NET Framework 4.5.1.
So download the latest .NET Framework 4.5.2 developer kit from microsoft site install this in your machine.
Now open visual studio with abp solution and try to change the target framework of solution with latest .NET Framework 4.5.2 by right click on the project select properties and in application select target framework .NET Framework 4.5.2 from dropdown repeat this in each prject and change target framwork and now build your solution.
Error will be resolved and will build with 0 Error

Can I deploy my ASP.NET MVC 4 application in .net 4

I want to know about a thing that IS ASP.NET MVC 4 application can be run on .NET 4 server.
I am trying to deploy my MVC4 application and I am got the error that.
500 - Internal server error.
There is a problem with the resource you
are looking for, and it cannot be displayed.
I target the .net 4 framework but I am still having this error. I am not sure what happen to server. I am trying to look on other post but I did not find any post who can clearify that MVC 4 can run on .net server.
Yes. ASP.Net MVC 4 will run on ASP.Net 4 and ASP.Net 4.5. I am running a site on ASP.Net 4, and it is also confirmed in this blog post by Scott Gu. This assumes that you are not targeting any new 4.5 features in your application.
Be sure that you are copying the required MVC 4 .dll files in your bin folder if the server does not already have them installed. This post by Phil Haack explains how to bin deploy version 3. Hanselman has a similar article. You will need to check the version 4 release notes for the current .dlls required.
We may be able to provide a more specific answer if you can provide some additional details, and let us know what version of IIS and Visual Studio you are running.
Right click your mvc4/webapi project ,choose the "Add Library Package Reference..." item, checked the "ASP.NET MVC" checkbox .
Install DotNet Framework 4 Client Profile on your server.Because of the reference item "System.Net.Http" target framework is .net4 client profile.
Publish your mvc4 project to your server
enjoy......:)_
Razor 2 is part of the next wave of the WebPages/MVC framework so it
will require MVC4. There's nothing stopping you from using our
Open-Source code to wedge Razor 2 in to MVC3, but it isn't a supported
scenario.
Remember that MVC 4 works on .NET 4.0 and does NOT require .NET 4.5!
ASP.net mvc programmer blog

Bin Deploying MVC4

Hi My hosting Provider has support for MVC3 but not for MVC4. When I asked them to install MVC4 they say they support only MVC3 as the visual studio installed on the server is still in v3.5. I had read the release notes of MVC4 which requires visual studio 2010. I have converted all my application to MVC4 and having tough time with the hosting provider. My question is
Is there any way that I can run MVC4 application with (VS2008 and
MVC3)
Can I use Bin deploy in this case? will it work?
Any suggestions are really appreciated. I dont want to downgrade my MVC4 application or dont want the hassle of transferring the hosting provider.
No. Even MVC3 requires .NET 4.0 and VS 2010 to install the project template. If the latest .NET Framework version your host has installed on their servers is 3.5, you cannot run anything later than MVC2 over there, unfortunately.
If you drop MVC3/4 DLLs to bin, you'll get runtime errors.
Downgrade MVC, or change the host. They are due upgrading their .NET version. If they don't have that in plan soon, you're working with a dinosaur that you're likely looking at constant problems with.

Resources