Tags » ASP .NET MVC

ASP.Net MVC 5 - quick tip for unobtrusive validation and Bootstrap styling

Remarkable. If you just create a new ASP.Net MVC 5 project, it comes with Bootstrap enabled. If you have selected to include scaffolded code for Individual user accounts, you also get e.g. 252 more words

Development

Resolving Dependencies in ASP.NET MVC 5 using Unity Container

In this post, I will show you how to use Unity Container in ASP.NET MVC 5 application. This post may be handy for you because the way Unity was used in MVC 4 has been changed in MVC 5. 222 more words

MVC

Getting server name using asp.net C#

public static string ServerHostName()
{
string port = HttpContext.Current.Request.ServerVariables["SERVER_PORT"];
if (port == null || port == “80” || port == “443”)
{
port = “”; 30 more words

Asp.net

Generate a text file and download it in your local machine in ASP.NET MVC

In the below example i have generate a text file and download it in your local machine

Create a model class for example
public class Information… 191 more words

ASP.NET MVC

Questions in MVC development

1. All other attributes are not working after adopting the

2. How to address attribute validation when Login and Registration are using the same data model, for example,  8 more words

ASP.net MVC

Application Initialization in IIS 7.5 and IIS 8

Why we need Application initialization ?

On first HTTP requests asp.net applications both asp.net web forms and asp.net mvc application requires initialization tasks and “warm up” tasks (Startup processing , generating contents) etc. 372 more words

C# And ASP.NET

ASP.NET Precompilation for Deployment

Benefits of Precompilation in ASP.NET:

  • Initial response of application will be faster for users, because code and files will not have to be compiled at the first time any user requested.
230 more words

C# And ASP.NET