Monday, May 30, 2011

How to set specific namespace for one edmx file in Entity Framework

Right click edmx file in solution explorer. And change Custom Tool Namespace

How to solve "The specified named connection is either not found in the configuration, not intended to be used with the EntityClient Provider, not valid.


If your EDMX file in one project, you consume it in another.
You need copy the connection string from the app.config in the project with your model to the project where you want to consume that model.


http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/70f124b6-5003-4011-8142-9c7e4ac6c4a0/

How to change TFS Team Foundation Server template?


Install Team Foundation Server Power tool.
Then you will get Process Editor for changing TFS template.






Process Editor


An add-in to the Tools menu, the Process Editor provides a graphical user interface for editing Team Foundation Server process templates inside the Visual Studio IDE. This tool also provides a GUI for viewing the values assigned to all fields defined in a project collection.





Using jQuery Mobile with ASP.NET MVC

http://mourfield.com/2011/03/02/using-jquery-mobile-with-asp-net-mvc/

URL Routing with Web Forms

http://dotnetslackers.com/articles/aspnet/Understanding-and-Using-URL-Routing-with-Web-Forms.aspx

Bin Deploying ASP.NET MVC 3

http://haacked.com/archive/2011/05/25/bin-deploying-asp-net-mvc-3.aspx



If your server doesn’t have ASP.NET MVC 3 installed, you’ll need to make sure the following set of assemblies are deployed in the bin folder of your web application:
  • Microsoft.Web.Infrastructure.dll
  • System.Web.Helpers.dll
  • System.Web.Mvc.dll
  • System.Web.Razor.dll
  • System.Web.WebPages.Deployment.dll
  • System.Web.WebPages.dll
  • System.Web.WebPages.Razor.dll