Showing posts with label MVC. Show all posts
Showing posts with label MVC. Show all posts

Wednesday, December 26, 2018

Integrating ASP.NET MVC with GitHub

Git is the most popular open-source, Cloud-based version control system. Git was started by Linus Trovalds (Founder of Linux) of in 2005; recently, Microsoft has acquired it. Git is the preferred version control system of most developers and enterprises because it stores file changes more efficiently and better ensures better file integrity. Git also allows developers to easily collaborate; they can download a new version of the software, make changes, and upload the newest revision. In this article, I will demonstrate how to integrate Git with Visual Studio so that you can create local branch and push changes, and also pull requests.

Friday, May 25, 2018

Passing Data in an MVC Application (ViewBag, ViewData, and TempData)

Maintaining the state of a Web application is very important when passing the data between multiple requests. In an ASP.NET application, we use different techniques or ways to pass the data from one page to other. ASP.NET provides Session, ViewState, QueryString, Cross Page Posting, and so forth. Most of the time, developers find difficulties understanding and using ViewData, ViewBag, and TempData in an ASP.NET MVC application. In this article, I will explain ViewData, ViewBag, and TempData with examples, and show you how to pass data in an MVC application in different scenarios.

Understanding Action Filters in ASP.NET MVC

To understand MVC Action Filters, we have to know how ASP.NET MVC routing works. When a user types an ASP.NET MVC application URL in the browser, it lands at the UrlRoutingModule. The routing module parses the requested URL and then invokes the corresponding controller and action. Finally, the controller renders the appropriate view and the response is sent to the user. Now assume, a developer wants to inject some additional processing logic which could be reused across multiple controllers and actions in the request response life cycle. MVC custom filters allow developers to inject additional processing logic in the request-response life cycle.

Monday, January 15, 2018

Differences Among MVC, MVP, and MVVM Design Patterns

During software development, we build solutions those addresses needs of customers and solve problems of users and businesses. To achieve this, different technologies and architecture patterns—such as Model-View-Controller (MVC), Model-View-ViewModel (MVVM), and Model-View-Presenter (MVP)—are used. All these design patterns help when developing applications that are loosely combined, easy to test and maintain, and formalized best practices that facilitate reusable object-oriented development and easier to maintain and change than an application's architecture.

More

Calling Web APIs from jQuery and JavaScript

In this article, I will demonstrate how to create a Web API using the ASP.NET MVC framework and consume it from a client application. Web API is new version of Microsoft's service-oriented application built on top of MVC architecture. Web API is a great framework for exposing your data and service. It can be consumed by a broad range of clients, including browsers, mobiles, iPhone, and tablets. Web API supports conventional CRUD actions. It also supports MVC features such as routing, controllers, action results, filter, model binders, IOC container, and dependency injection; that makes it more simple and robust.

More

Sunday, May 09, 2010

Create a Web App Using ASP.NET MVC 2.0 Framework

In this article I will show you how to create an ASP.NET Web Application using MVC 2.0 Framework. You'll recall that ASP.NET MVC 2.0 is the latest Microsoft framework for building web applications on top of the .NET framework 2.0, 3.0, 3.5 etc. To know more check my article in codeguru.
http://www.devx.com/webdev/Article/44747

Tuesday, April 27, 2010

Extend Your ASP.NET MVC Application to Windows Mobile

For the last 6 months I have worked on a web based application in the life science domain, and as per customer demand we introduced ASP.NET MVC Framework with a test driven approach.
Our customer was very happy about the product quality, and after project completion we got another work order to deploy the customer module to Windows Smart Devices. None of our team members had experience deploying ASP.NET applications to Windows Smart Devices. Our plan was to deploy the existing released codebase to Windows Smart Devices with minimal modification.
 
To Know more check my article in Devx.com
http://www.devx.com/enterprise/Article/44610?trk=DXRSS_LATEST

Thursday, April 01, 2010

Developing Web Application using MVC 2.0 Framework

For last couple of months I am working on MVC 2.0 Framework.ASP.NET MVC 2.0 is the latest Microsoft framework for building web applications on top of the .NET framework 2.0, 3.0, 3.5 etc.
MVC stands for Model, View, and Controller, a design pattern that is widely accepted throughout the development industry. You can download MVC 2.0 Beta from the following URL. http://www.microsoft.com/downloads/details.aspx?FamilyID=4817cdb2-88ea-4af4-a455-f06b4c90fd2c&displaylang=en

Microsoft has also published source code of the MVC Framework, which can be downloaded from Codeplex. http://aspnet.codeplex.com/releases/view/39978 .
 
To Know more Read my Article in devX.com.
http://www.devx.com/DevXNet/Article/44400

Mocking API Responses in Azure API Management Portal

A mock API imitates a real API call by providing a realistic JSON or XML response to the requester. Mock APIs can be designed on a developer...