Error handing is the main concern in any application, whether it is web application or desktop application. Usually, we catch the exception and log its details to database or text,xml file and also display a user friendly message to end user inplace of error.
Sometimes, your required to save Html data in the database. By default Asp.Net MVC doesn't allow a user to submit html for avoiding Cross Site Scripting attack to your application. Suppose you have below form and you can submit the Html in description textarea.
There are different ways for returning/rendering a view in MVC Razor. Many developers got confused when to use return View(), return RedirectToAction(), return Redirect() and return RedirectToRoute(). In this article, I would like to explain the difference among "return View()" and "return RedirectToAction()", "return Redirect()" and "return RedirectToRoute()".
Donut caching is the best way to cache an entire web page except for one or more parts of the web page. Before Donut caching, we have Output Caching which cache the entire web page.
You should be happy to know, Asp.Net MVC is an open source and highly extensible framework. You can customized it according to your need. As you read my previous article Removing the Web Form View Engine for better performance of Razor View Engine from your Asp.Net MVC Razor application. In this article, you will learn how can you customize the Razor View engine for C# and VB language.
Many developers want to do Insert, Update and Delete with in WebGrid like as GridView, but don't know how to do it. This article will help you to do the CRUD operations with in WebGrid.
There are different ways for rendering a partial view in MVC Razor. Many developers got confused whether to use RenderPartial or RenderAction or Partial or Action helper methods for rendering a partial view. In this article, I would like to expose the difference among Html.RenderPartial, Html.RenderAction, Html.Partial & Html.Action.
Uploading a file in Asp.Net MVC application is very easy. The posted file is automatically available as a HttpPostedFileBase parameters in the action of the controler. For uploading a file on the server you required to have a file input control with in html form having encoding type set to multipart/form-data.
In previous posts I have explained how can we do custom paging and sorting in WebGrid. You can also enhance WebGrid with ajax for asynchronous update of webpage.For making an Ajax WebGrid, we have to set the value of ajaxUpdateContainerId parameter, in which we want to generate the WebGrid. Usually the container should be a DIV as show below:
WebGrid is simply used to display the data with paging and sorting. If you want to control the default behavior of the webgrid, you need do it manually. In this article, I would like to explore how can we do custom paging and sorting. In this article I have used the MVC4 and Entity Framework 5.0 with VS2012.
Many times, we required to upload file with strongly-typed view and also apply validation on uploading file using data annotation validators. In this article, I would like to share, how can we upload a file and validate that file, firstly at client side and after that at server side.
Authorization is the process of determining the rights of an authenticated user for accessing the application's resources. The Asp.Net MVC Framework has a AuthorizeAttribute filter for filtering the authorized user to access a resource.
By default, Asp.Net MVC support session state. Session is used to store data values across requests. Whether you store some data values with in the session or not Asp.Net MVC must manage the session state for all the controllers in your application that is time consuming. Since, session is stored on server side and consumes server memory, hence it also affect your application performance.
The Model-View-Controller (MVC) pattern was introduced in 1970s. It is a software design pattern that splits an application into three main aspects : Model, View and Controller. Moreover, MVC pattern forces a separation of concerns within an application or example, separating data access logic and business logic from the UI.
Caching is a most important aspect of high-performance web application. Caching provides a way of storing frequently accessed data and reusing that data. Practically, this is an effective way for improving web application’s performance.
It was a great learning experience at dot net tricks from Shailendra Sir. I started the basics and went on to build a complete system, using some best practices in the project, I got all recorded sessions for the same for revision. Again, it was Awesome learning from DNT for ANGULAR JS.Navdeep Singh (Software Engineer) Angular2 and Angular1 Development
"DotNetTricks drew me in and rekindled my passion for MVC including various other technologies like AngularJs, Web API, LINQ and Bootstrap too. If you want to expand your career and focus and learn about all these technologies to the cutting edge, DotNetTricks embodies all these in their online program. I strongly recommend DotNetTricks..!!!"Preeti Jain (Technical Analyst ) ASP.NET MVC with Angular4 Development
"It has been a great learning experience at Dotnettrics. Shailendra is very professional and focuses on concepts until we gain the confidence. All the materials shared are good sources for any level of professionals. Recorded videos do help us to thoroughly understand.Thank your, team, for being supportive and enhancing the teaching concepts based on feedback."NagaDeepti Amirineni (Sr. Net developer/Lead 3M) ASP.NET MVC with Angular4 Development
Amazing Experience with Dot Net Tricks. I have attended the ASP.NET MVC with AngularJS Development course with Project (online training). In my 14 years of my software career I have attended various technical training but the training I got from Mr. Shailendra Chauhan is Superb and Excellent. I can assure that Dot Net Tricks provides the Top Quality Training both in Teaching and Course Material or Content. The teaching techniques of Mr. Shailendra is very Simple, Easy and Unique. Highly recommended to all who are looking for training from Dot Net Tricks.Joydeep Deb ( Co-Founder & Project Manager Izensys Technologies) ASP.NET MVC with Angular4 Development
After attending the "DotNetTricks" training for ASP.NET MVC with AngularJS, I gained much more knowledge in the topic of study, design, and architecture; implemented a project as well. Mr.Shailendra is an excellent trainer; he patiently listens to our queries and answers them well. Also, the topics are arranged in the proper manner; even if you are not that experienced, you can learn it quickly. Most important, they are not chasing you to join the course; they provide a demo class and you can decide. Definitely, I recommend every developer in Microsoft stream to undergo this training.Nebil Rasheed (Sr. Systems Analyst) ASP.NET MVC with Angular4 Development
"DotNetTricks" is truly great E-Learning Organization which provides real time project-based training for professionals. They provide best in-depth knowledge theoretical and practical as well as interview aspect, this training with help to learning new technology and switching new job, improve self-Confidence. Because of their efforts, I am stronger and more flexible in my technology and thanks to "Mr.Shailendra Sir" for his excellent efforts and developments exposure, I recommend them without reservation.Ranveer Singh Godara (Technical Director ) ASP.NET MVC with Angular4 Development
Dot net Tricks is best training Organization for real time software development in new technologies. I visited this Organization and had a demo session and decided that this is a content. Always Shailendra sir answer all the candidate queries and even goes one step further to demo any special scenario requested by the candidates. If you want to repeat a particular session or if you have missed any particular session, Staff of DNT always allow to attend sessions in a different batch. DNT deliver training, which match with industry requirement and real time project development. It was very good experience getting AngularJS Development Training with Dot Net Tricks.Balaindu Pandey (Sr. Software Developer ) ASP.NET MVC with Angular4 Development
As my experience included only on windows side, I wanted to learn and quickly upgrade to web technologies and joined dotnettricks. It was amazing experience with Mr.Shailendra as he covers all the topics in depth and classes are flexible. Even if we miss, we can either take another batch classes or go through recording. In a month and half, I was able to reach proficient level at web technologies (MVC, AngualrJs, Angular 2, WebAPI and many more).Will absolutely recommend to anyone looking for real time, hands on technical training! Also I have joined MEAN now since the training quality is too good and you can learn many things in a month time.Raghavendra SK (Technical Anchor at Prime Focus Technologies) MEAN Stack 2 Development
I was on zero level when I have started my training with DotNetTricks, Today I can say with my confidence that I am an expert on NodeJS and AngularJS technologies. I truly want to say thanks to DotNetTricks for taking me on this Hight in development, I have not been only developing my company project but also, I am capable to help my team to do the same. Especially I want to say Thanks to Mr. Shailendra Chauhan for his technique of teaching and combining concepts with example that the great things about his teaching pedagogy.Shailendra Singh (Software Consultant ) MEAN Stack 2 Development
Shilendera sir given me best opportunity to improve my skills for NodeJS, WCF and MVC.I have learnt real time software development skills on these technologies Dotnettricks provide better environment for improving latest technologies for better career prospect, especially programmer updates their skills to crack interview for next higher level of job.Sarvesh kumar (Sr. software developer) NodeJS Development