Skip to main content

Posts

Showing posts from 2019

HTML5-SPA-Survey CRUD Application

Introduction: This is a small HTML5 Survey Single Page Application (SPA), this application is using HTML5s local storage to store the data in JSON format   To Add an Item: View Items: Edit and Delete The code is pretty straightforward which uses the plain Javascript and JQuery in some cases This application is tested in desktop Chrome, Firefox, and Edge browsers successfully.    This application is tested in Mobile browsers successfully.   About the survey:  This application captures the details about a person such as a Name, DOB, Children details, Annual Salary, 2 Wheeler details, 4 wheeler details and their insurance renewal dates, personal insurance renewal dates.    Technical Details:   Mainly uses Javascript, JQuery and Bootstrap The complete code is available at https://github.com/oneananda/HTML5-SPA-Survey/blob/master/HTML5%20SPA%20Survey.html For JSFiddle :  https://jsfiddle.net/oneananda/bs4f6ax0/

ASP.NET MVC Learning 4 : Session Handling

ViewData : Needs typecast, and has intellisense support, scope is only limited to that view, not across action methods ViewBag : scope is similar to ViewData, but it is dynamic, no typecasting needed, no intelisense is available TempData : Across actions   or views but only to the same controller, if it is used then the data will be last until the last usage Session :   Global scope, can be accessed anywhere