Tuesday, January 23, 2018

Visual Studio Architecture and Design Tools

Microsoft Visual Studio offers architecture and modeling tools to design and model your application. These tools are available in the Enterprise edition. By using these tools, architects can make sure the application meets the specified architectural requirements. Modeling tools help you understand existing program code more easily by visualizing the code's structure, behavior, and relationships. Developers can create models at different levels of detail throughout the application lifecycle as part of the development process. Architecture and modeling also help developers understand the dependencies over the modules while coding.

Monday, January 15, 2018

How Bundling and Minification Work in an MVC Application

Bundling and Minifying in ASP.NET are two powerful features by which you can improve request load time. ASP.NET MVC provides bundling and minification of CSS and JavaScript, which reduces the number of HTTP Requests and payload size, resulting in faster and better performing ASP.NET MVC Web sites. The System.Web.Optimization namespace offers the bundling and minification techniques that exist in the Microsoft.Web.Optimization assembly. To apply bundling and minification, you have to add this DLL as a reference in your project.

More

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

Visual Studio 2017 Productivity Tools

Visual Studio keeps enhancing its features and easy development process for developers with every release. Visual Studio 2017 Productivity Power Tools are a set of extensions to Visual Studio which improves developer productivity. These productivity tools help during the development process and make a developer's life more comfortable and easy. Recently released Microsoft Productivity Power Tools are broken into separate extensions and developers now can download as many extensions as they need.

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

Dot NET Dependency Injection Frameworks

When designing a software application, a major concern is that the design must be loosely coupled because loose coupling offers greater reusability, maintainability, and testability. Dependency Injection (DI) reduces the coupling between classes and moves the binding of abstraction and concrete implementation out of the dependent class. Dependency Injection enables developers to better manage future code changes and complexity in our software, thus helping us to make our code maintainable. Dependency Injection could be achieved by Construction Injection, Setter Injection, and Interface-based Injection techniques.

More

Creating Excel Charts in C#


Microsoft Office Excel Object Library, commonly known as Microsoft Office Interop Object, can help developers generating and exporting report from Microsoft Excel. In this tutorial, I will explain with code snippets how to plot a graph from the data in Excel sheet, and export a chart from Excel sheet through C# and save it locally. This tutorial will be very useful for developers working on Desktop and Web applications using Visual Studio .NET where we need to do lot of report generation from Microsoft Excel.

More

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...