As we seen in this post that working with Kendo UI Web widgets are as simple as following above three steps:
Add reference of Kendo UI Web
Create the bundles
Add bundles reference in layout page
Dhananjay Kumar is a Consultant and Trainer from India and organizer of one of the world's largest Angular conferences, ng-India
As we seen in this post that working with Kendo UI Web widgets are as simple as following above three steps:
Add reference of Kendo UI Web
Create the bundles
Add bundles reference in layout page
We have refactored the application adhering to the onion architecture. Domain objects like Movie is at the center of the architecture and are the part of internal layers. The Infrastructure project in which we are working with database and database logics are part of the external layers. They depend on the centeral layers like core. UI or in this case the MVC application is also an external layer and depndes on the Core project. All layers are interacting to each other using the interfaces rather than the concrete definitions. You can very easily write Unit Test against the controllers using Fake or Mock without hitting the datbase. In future you can easily change data access technology from Enity Framework to something else without affecting the UI and the Core.
While working on an ASP.NET MVC application I encountered the following error. It clearly says that some connection string is missing in the configuration file. Well I have refactored the application following the onion architecture and there is nothing related to database exist in the MVC project. Project structure looks like follows: The Entity FrameworkContinueContinue reading “No connection string named ” could be found in the ASP.NET MVC application config file: Solved”
If you are using StructreMap to resolve the dependencies in the ASP.NET MVC 5 application then Steve Smith’s blog post Resolving Dependencies in ASP.NET MVC 5 with StructureMap can be a great help for you. I have followed Steve’s blog to use the StructureMap. I am summarizing the steps as follows: Using the Nuget PackageContinueContinue reading “Resolving Dependencies in ASP.NET MVC 5 using StructureMap”
Type of ASP.NET MVC View depends on the way data being passed to it from Controller. There are three ways data can be passed to Views from Controller. They are as followsUsing ViewBag or ViewData
Using object of the model which is strongly typed
Using any dynamic type value
In this post you will learn to use UNITY Container to resolve dependecy in ASP.NET MVC 5 application.
Day #1: Learn ASP.NET MVC 5- Adding Controller On Day1 we learnt about Adding Controller. Today we will learn to add View in MVC project. Let us start with understanding with is View? View is part of MVC that renders user interface. View contains markup that gets render with ViewEngines. ViewEngines generates View in ASP.NETContinueContinue reading “Day #2: Learn ASP.NET MVC 5- Adding View”
After long time, I am back to web development. At current web development paradigm, ASP.NET MVC framework is one of the most popular and heavily used web development framework. Seeing popularity and usefulness of ASP.NET MVC, I have decided to write easy to go blog series on this. In this blog post series, eachContinueContinue reading “Day #1: Learn ASP.NET MVC 5- Adding Controller”
Creating First HTTP Service using ASP.NET Web API: Part1 of Many Consuming ASP.NET Web API Service using HttpClient: Part2 of Many How to Self-Host ASP.Net Web API: Part 3 of Many In this post we will consume ASP.Net Web API HTTP Service in Windows Phone Application. If you do not specify header information in HTTPContinueContinue reading “ASP.Net Web API Service in Windows Phone: Part 4 of Many”
Creating First HTTP Service using ASP.NET Web API: Part1 of Many Consuming ASP.NET Web API Service using HttpClient: Part2 of Many In this post, we will step by step walkthrough that How to Self-Host ASP.Net Web API. We are going to host Web API in a console application. To do that creates a Console Application.ContinueContinue reading “How to Self-Host ASP.Net Web API: Part 3 of Many”