ASP Archives

Dependency Injection in Asp.Net Core

Author - Webner
|
0 Comments
|

Introduction:

The ASP.NET Core provides the idea of Dependency Injection without having to install any external injection containers and resolve the dependencies. My experience with ASP.NET Core is connecting some applications related to the use of such templates for dependencies.

The whole development ideology using dependency Read more…

Partial View in ASP.NET MVC

Author - Mahesh Kumar
|
0 Comments
|

The partial view is a special view used to render a portion of view content. It is a reusable view. It reduces code duplication. We can say that a partial view enables us to render a view within the parent view.

In other words, if the view does not contain Read more…

Download byte array as a file in ASP .NET MVC and Javascript

Author - Harleen Kaur
|
0 Comments
|

How to download byte array as a file in ASP .NET MVC and Javascript?

Here is a simple approach to invoke file download operation in the browser for bytes array available on the server:

I am receiving the file in the format of bytes array from Read more…