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.

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

URL Routing with Web Forms

Bin Deploying ASP.NET MVC 3

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