Tags » ASP .NET MVC

TFS 2010 Build Definition and Transform Files

Here is a great blog that helped me with my build definition work with my transform files.

http://www.andygeldman.com/index.php/2011/10/web-and-app-config-transformations-with-tfs-build/

How do you specify multiple configurations like debug and release to get built by MS Build? 27 more words

C#

ASP.Net MVC: Run a program to access Google Drive folder in c# on a Proxy Network

To run a MVC or ASP.Net program on a Proxy Server to access Google Drive details, you have to only add some lines of code. Without adding these number of codes, you won’t be able to run the application. 54 more words

Tips And Tricks

Differences Between ViewData and ViewBag in ASP.Net MVC

ViewData

  • Accessible in both controller and view.
  • Store objects as key / value pairs.
  • Introduced in ASP.Net MVC 2.
  • Use ‘magic strings’, such as:
    ViewData["stack247"] = "stack247";
  • 84 more words
General

How to update partial view using jquery ajax

I wanted to give a quick but clear example how to use jQuery to update a partial view, an example which could be easy to replicate. 711 more words

C#

Error Handling in ASP.NET MVC

Basically, there are two ways of customizing error handling in ASP.NET MVC.

One is to turn on customErrors in web.config and add HandleErrorAttribute in FilterConfig.cs or to a specific controller or method. 183 more words

ASP.NET MVC

Cookie Tempdata Alerts with ASP.NET MVC

https://github.com/duyn9uyen/CookieTempDataProvideAlerts

A sample MVC Project using the CookieTempDataProvider and Bootstrap alerts. This project will illustrate how to add notifications on the serverside and client side via javascript. 82 more words

ASP.NET MVC