Tags » ASP .NET MVC

Using a Route in Forms and Hyperlink

Using a Route in Forms

To use a route in forms, you need to change from:

@using(Html.BeginForm("Index","Products",FormMethod.Get))

to

@using(Html.BeginRouteForm("ProductsIndex",FormMethod.Get))

Using a Route in Hyperlink

To use a route in hyperlink, you need to change from: 107 more words

Blog

ASP.NET MVC: Dynamically adding an existing View as a Partial View to a parent

Let’s say you have a pre-existing Model/View/Controller. For my purposes I will call it FirstController, FirstModel and the view, Details.

In this post I will explain how to reuse this form and model in another View/Controller which will become it’s parent. 839 more words

C#

How to: Host your First Azure Web App

If you have never hosted a web site on Azure and need some guidance, you are at the right place. When you have a web application, you can host it in 3 different ways in Azure – as an Azure Web App, as an Azure Cloud Service or inside a Azure Virtual Machine. 467 more words

Azure

Unable to start debugging on a web server. Could not start ASP.NET debugging.

If you attempt to debug an ASP.NET web application and get the following error, you can Google it and find a lot of hits.  There are also numerous posts on… 83 more words

.NET

Dependency Injection in ASP.Net MVC using Unity Container

Today, we will learn about injecting Dependency Injection in ASP.Net MVC using Unity Container.
Before going further, we will learn what is Dependency Injection and what is Unity Container. 593 more words

ASP.Net

List of Programming Courses

I’ve been a software engineer for almost 2 decades now, and I love it. I spent much of that time teaching others how to program, and it amazes me how much I love watching others get as excited about creating software as I am. 504 more words

.NET