@manhng

Welcome to my blog!

ASP.NET MVC 5 Samples

May 8, 2019 21:55

ASP.NET MVC 5 (edit)

https://github.com/topics/asp-net-mvc5

1) Plugin for server side processing for jQuery Datatables

https://github.com/manhnguyenv/jQuery-Datatables-Server-Side-Processing

2) Shopping application with Paypal

https://github.com/manhnguyenv/OnlineShoppingApplication

Online Shopping App: It's an ASP.NET MVC 5 Web Shop application.

Main functions:

  • Registered users can sell items
  • All users can browse list of items and see their details like price, description, seller information
  • All users can add items to cart, change their quantity and check total price
  • Users can manage their wishlists
  • Registered users can place orders and pay with credit card or PayPal
  • Users can log in using Facebook
  • Registered users can mark other users as favourite and manage them on favourite sellers list

Technologies used:

This app was built with ASP.NET MVC 5, Entity Framework, jQuery Ajax, Bootstrap, Toastr, Bootbox

3) Vote System

https://github.com/manhnguyenv/VoteSystem

4) Restaurants Reviews

https://github.com/manhnguyenv/Restaurants-Reviews

This project uses ASP.Net MVC 5 with Entity Framework 6 to make an application that lists mock restaurants with their reviews supporting CRUD operations, that it utilizes different framework features such as

  • Entity Framework Code-First approach
  • Performing Migrations and Seeding the database
  • Building Custom Action Filters
  • Creating Views and Partial Views
  • Bundling and Minification for css and js files
  • Output Caching
  • AJAX and HTML Helpers

5) Picture & Photography

https://github.com/manhnguyenv/WebPhotography

Reading/saving picture in database using ASP.NET MVC and MS SQL Server

6) How to display table data from database in Asp.net MVC using Jquery Ajax

https://www.youtube.com/watch?v=cmGdevd0KRg

7) Master Details & Multiple Models

https://www.codeproject.com/Articles/531916/Master-Details-using-ASP-NET-MVC

https://www.codeproject.com/Articles/189621/Creating-an-expandable-master-details-table-jQuery

https://www.codeproject.com/Articles/687061/Multiple-Models-in-a-View-in-ASP-NET-MVC-MVC

8) Angular 2 + ASP.NET MVC 5

https://github.com/manhnguyenv/angular2Project

9) ASP.NET MVC Awesome

Main Video Tutorial: http://youtu.be/qDyhszMa1yA?hd=1
Lookup, MultiLookup and AjaxList Tutorial: http://youtu.be/gxb3z2VYJqg?hd=1
Popup, PopupForm and AjaxForm Tutorial: http://youtu.be/KcXUES-fN5s?hd=1
ASP.NET MVC Tutorial: http://www.youtube.com/watch?v=fsfOFL4bXXA

10) Microsoft Chart Controls Samples on MVC 2

https://www.codeproject.com/Articles/125230/ASP-NET-MVC-Chart-Control

11) HTML5 controls

https://www.codeproject.com/Articles/237411/Html-5-Controls-for-ASP-Net-MVC

12) Microservices Architecture

https://www.codeproject.com/Articles/1264113/Dive-into-Microservices-Architecture-Part-I

https://www.codeproject.com/Articles/1268122/Dive-into-Microservices-Architecture-Part-II

13) Distributed System Design (Redis)

https://www.codeproject.com/Articles/3507113/Beginners-Introduction-to-Distributed-System-Desig

14) Basic Time Management Application in ASP.NET MVC 5

https://github.com/manhnguyenv/WebTimeSheetManagement

About Platform Used

I had developed entire Application using Microsoft visual studio 2015 with SQL Server 2008 R2. Frame worked used is ASP.NET MVC 5 and language is C# and Dapper, Entity Framework as ORM and Repository Pattern. Microsoft visual studio 2015 with Update 3

Link to download: - https://www.visualstudio.com/vs/older-downloads/

Microsoft SQL Server 2008 R2

Link to download: - https://www.microsoft.com/en-in/download/details.aspx?id=29062

External packages which are used in this Project I have also added some packages from NuGet, here is the list:

  • CaptchaMvc
  • ClosedXML
  • Dapper
  • ELMAH

Design Templates

SB Admin 2 A Bootstrap admin theme, dashboard, or web app UI featuring powerful jQuery plugins for extended functionality.

Link: - https://startbootstrap.com/template-overviews/sb-admin-2/

JavaScript Libraries

  • Toastr Link: - http://www.toastrjs.com/
  • DateTimePicker Link: - https://xdsoft.net/jqplugins/datetimepicker/
  • Datatables Link: - https://datatables.net/

Encryption Library

AES 256

Login credentials with Password

User Username :- demouser Password :- 1234567

Admin Username :-demoadmin Password :-1234567

SuperAdmin Username :-SuperAdmin Password :-1234567

15) 51+ Best of jQuery Tutorials and Examples

https://www.jotform.com/blog/51-best-of-jquery-tutorials-and-examples/

16) ASP.NET MVC case study solution for PluralSight Guides. Demonstrates using Ajax helpers and JavaScript with Razor partial views

https://github.com/manhnguyenv/BlipAjax

.NET Framework 4.6.2
ASP.NET MVC 5.2.3
Bootstrap 3.7
Entity Framework 6.1.3
jQuery 3.2.1
jQuery Validation 1.16.0
Microsoft jQuery Unobtrusive Ajax 3.2.3
Microsoft jQuery Unobtrusive Validation 3.2.3

17) CRUD in MVC using AJAX and Bootstrap

https://dzone.com/articles/crud-operation-in-aspnet-mvc-using-ajax-and-bootst

18) Entity Framework with MVC 5

https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/getting-started-with-ef-using-mvc/advanced-entity-framework-scenarios-for-an-mvc-web-application

19) Budget control using MVC 5

https://github.com/manhnguyenv/budget-control

20) CRUD in ASP.NET MVC 5 without Entity Framework

Simple .Net Web app design on scratch to manage the buget x hiring requests

https://github.com/manhnguyenv/ASP_MVC_Crud

21) Contoso University

https://github.com/manhnguyenv/ContosoUniversity

  • Students
  • Courses
  • Instructors
  • Room bookings

22) ASP.NET Core MVC without Entity Framework Core

https://github.com/manhnguyenv/Generic-Entity-MVC-CRUD

https://hackernoon.com/asp-net-core-learn-crud-operations-in-ado-net-from-zero-to-hero-a0109ed2f8a4

https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/crud?view=aspnetcore-2.2

23) ProDinner MVC 3

https://archive.codeplex.com/?p=prodinner

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/working-with-the-dropdownlist-box-and-jquery/using-the-dropdownlist-helper-with-aspnet-mvc

24) JavaScript and MVC 5

https://weblogs.asp.net/jaimedelpalacio/a-way-to-organize-your-javascript-code

https://www.paulirish.com/2009/markup-based-unobtrusive-comprehensive-dom-ready-execution/

https://www.hanselman.com/blog/jQueryToShipWithASPNETMVCAndVisualStudio.aspx

25) Passing data from Server-side to JavaScript

https://mariusschulz.com/blog/passing-net-server-side-data-to-javascript

26) ASP.NET MVC + jQuery + AJAX

https://www.aspsnippets.com/Articles/ASPNet-MVC-jQuery-AJAX-and-JSON-Example.aspx

27) ASP.NET MVC tutorials

https://www.quanzhanketang.com/aspnet/mvc_intro.html

ASP.NET MVC 5 and jQuery

May 6, 2019 21:23

ASP.NET MVC 5 Source Samples (edit)

Training Course

https://www.interfacett.com/training/dev500-building-an-html5-end-to-end-web-application-with-asp-net-mvc5-ef-code-first-and-jquery/

https://www.wintellect.com/course/building-html5-apps-with-asp-net-mvc-ef-code-first-and-jquery/

http://takenote.com/training/modern-web-development-using-microsoft-asp-net-mvc-5/

https://www.u2u.be/training/asp.net-programming

Building ASP.NET MVC Apps with EF Code First, HTML5, and jQuery

https://www.pluralsight.com/courses/web-development

Tutorials

https://www.sitepoint.com/10-javascript-jquery-mvc-tutorials/

https://www.codemag.com/Article/1405071/10-Good-Practices-for-ASP.NET-MVC-Apps

https://www.tutorialsteacher.com/mvc/asp.net-mvc-tutorials

Dashboard Application With ASP.NET MVC 5 And jQuery

https://www.c-sharpcorner.com/article/dashboard-application-with-asp-net-mvc-5-and-jquery/

GitHub Source

https://github.com/manhnguyenv/Dashboard-Appplication

Decode & Encode with Base 64 in JavaScript

https://scotch.io/tutorials/how-to-encode-and-decode-strings-with-base64-in-javascript

https://www.jqueryscript.net/text/Base64-Decode-Encode-Plugin-base64-js.html

https://www.url-encode-decode.com/base64-encode-decode/

JSON Data with Asp.Net MVC using JQuery

http://www.mukeshkumar.net/articles/mvc/json-data-with-asp-net-mvc-using-jquery

Upload Image

https://www.codeproject.com/Articles/1095619/Generic-Repository-Pattern-in-ASP-NET-MVC

Account At a Glance Application

https://weblogs.asp.net/dwahlin/building-the-account-at-a-glance-html5-jquery-application (HAY HAY HAY)

image

https://github.com/DanWahlin/AccountAtAGlance

This application provides an end-to-end look at how multiple technologies can be integrated including:

  • ASP.NET MVC
  • Web API
  • Entity Framework and Model Objects
  • The Data Repository Pattern
  • Dependency Injection using the Unity IoC container
  • LINQ to XML (to parse remote XML financial feeds)
  • jQuery
  • jQuery UI Drag and Drop
  • Handlerbars HTML templates
  • Modernizr
  • HTML5 (Canvas and SVG for charting)
  • More...

ASP.NET MVC 5, EF6, DDD, IoC

https://github.com/manhnguyenv/Asp.net_MVC5_DDD_EF6_IoC

ASP.NET MVC 5 and Xamarin

https://github.com/manhnguyenv/empleo-dot-net

Unit of Work + Repository Pattern in MVC5 and Web API 2 with Fluent Nhibernate

https://github.com/manhnguyenv/mvc5-unit-of-work-example

ASP.NET MVC with jQuery AJAX (HAY)

https://www.codaffection.com/asp-net-mvc-tutorial/asp-net-mvc-with-jquery-ajax/

https://www.tutlane.com/tutorial/aspnet-mvc/use-of-javascript-jquery-ajax-css-and-bootstrap-in-asp-net-mvc

https://medium.com/@yogihosting/tutorial-implementing-jquery-ajax-with-entity-framework-in-asp-net-mvc-eda1e3048a25

https://www.c-sharpcorner.com/UploadFile/302f8f/Asp-Net-mvc-using-jquery-ajax/

ASP.NET MVC 5 with JavaScript and jQuery

https://www.pluralsight.com/guides/asp-net-mvc-using-javascript-with-ajax-and-razor-partial-views

ASP.NET MVC 5 with Chart

https://canvasjs.com/docs/charts/integration/asp-net-mvc-charts/

Automatically Optimize CSS, JavaScript

https://zoompf.com/blog/2015/01/automatically-optimize-css-javascript-asp-net/

Validation

http://www.vbforums.com/showthread.php?822093-ASP-NET-MVC-5-Form-Validation-using-jQuery-and-Bootstrap-without-Model-class

https://exceptionnotfound.net/asp-net-mvc-demystified-unobtrusive-validation/

Localization

https://www.hanselman.com/blog/GlobalizationInternationalizationAndLocalizationInASPNETMVC3JavaScriptAndJQueryPart1.aspx

Calendar

https://gunnarpeipman.com/aspnet/using-fullcalendar-jquery-component-with-asp-net-mvc/

Password Meter jQuery

https://www.asmak9.com/2016/09/aspnet-mvc5-password-meter-jquery.html

jQuery, AJAX and ASP.NET MVC 5

https://www.c-sharpcorner.com/UploadFile/302f8f/Asp-Net-mvc-using-jquery-ajax/

jTable and ASP.NET MVC 5

http://www.howtobuildsoftware.com/index.php/how-do/bEfn/jquery-aspnet-mvc-aspnet-mvc-5-jquery-jtable-integrating-jtable-jquery-into-an-aspnet-mvc-5-project-that-uses-a-default-layout

https://www.codeproject.com/Articles/277576/AJAX-based-CRUD-tables-using-ASP-NET-MVC-and-jTa

jTable overview

CRUD in HTML, JavaScript, and jQuery Using the Web API

https://www.codemag.com/Article/1601031/CRUD-in-HTML-JavaScript-and-jQuery-Using-the-Web-API

INTEGRATE MULTISELECT PLUGIN WITH ASP.NET MVC 5 AND JQUERY

https://tajuddin.chittagong-it.com/integrate-multiselect-plugin-with-asp-net-mvc-5-and-jquery/

ASP.NET MVC 5 and Real Time App Using Signalr

https://www.c-sharpcorner.com/article/transform-an-existing-mvc-app-to-a-real-time-app-using-signalr/

https://www.codeguru.com/csharp/.net/sending-notifications-using-asp.net-signalr.htm

  1. Knowledge of ASP.NET MVC5.
  2. Knowledge of jQuery
  3. Knowledge of HTML.
  4. Knowledge of JavaScript.
  5. Knowledge of AJAX.
  6. Knowledge of CSS.
  7. Knowledge of Bootstrap.
  8. Knowledge of C# Programming.
  9. Knowledge of C# LINQ.
  10. Knowledge of SQL Server

jQuery Plugin Full Calendar

https://www.c-sharpcorner.com/article/asp-net-mvc5-full-calendar-jquery-plugin/

Select2 in ASP.NET MVC 5 (HAY)

https://www.intertech.com/Blog/selecting-multiple-items-using-select2-in-mvc-5/

http://www.datahaunting.com/mvc/select2-simple-example-in-asp-net-mvc/

https://stackoverflow.com/questions/23417594/data-binding-in-mvc-5-and-select2-multiple-values-with-razor-engine

https://blog.e-zest.com/tech-tutorial-select2-with-asp.net-mvc

JavaScript MVC

https://github.com/manhnguyenv/Javascript-MVC-App

https://github.com/manhnguyenv/minimal-todo-js-mvc

https://github.com/manhnguyenv/MVC-Vanilla-Javascript

ASP.NET MVC3 Razor With jQuery For Beginners

https://www.codeproject.com/Articles/344292/ASP-NET-MVC-Razor-With-jQuery-For-Beginners

Enhancing HTML tables using the jQuery DataTables plug-in

https://www.codeproject.com/Articles/194916/Enhancing-HTML-tables-using-a-JQuery-DataTables-pl

jQuery DataTables and ASP.NET MVC Integration - Part I

https://www.codeproject.com/Articles/155422/jQuery-DataTables-and-ASP-NET-MVC-Integration-Part

A jQuery UI-Based Date Picker for ASP.NET MVC 5

https://www.codeguru.com/csharp/.net/net_asp/a-jquery-ui-based-date-picker-for-asp.net-mvc-5.html

 

ASP.NET MVC 5

April 11, 2019 22:00

ASP.NET MVC 5 (edit)

https://www.asmak9.com/2017/12/aspnet-mvc5-google-charts-api.html

https://www.asmak9.com/2018/10/aspnet-core-entity-framework-call-store.html

https://www.asmak9.com/2018/05/aspnet-mvc-oauth-20-rest-web-api.html

https://www.asmak9.com/2016/04/aspnet-mvc5-role-base-accessibility.html

Selec2

https://datatables.net/forums/discussion/30618/loading-multiple-tags-into-select2-field-using-ajax

Source code

https://onedrive.live.com/?id=D082EB74D162369B%211323&cid=D082EB74D162369B

ASP.NET MVC Security

https://stackoverflow.com/questions/1064271/asp-net-mvc-set-custom-iidentity-or-iprincipal

https://www.c-sharpcorner.com/article/asp-net-mvc5-rest-web-api-authorization/

https://www.c-sharpcorner.com/UploadFile/2b481f/Asp-Net-web-api-authorization-and-authontication/

https://davidpine.net/blog/principal-architecture-changes/

ASP.NET Forms Authentication

https://web.archive.org/web/20120422011422/http://ondotnet.com/pub/a/dotnet/2004/02/02/effectiveformsauth.html

ASP.NET MVC 5 - How to build a website

December 27, 2018 22:46

ASP.NET MVC 5 - How to build a website (edit)

Product Description

This book is primarily aimed at developers who have some prior experience with MVC 5 and are proficient in C#, since the language won’t be explained in any detail. Even if you already have created a couple of MVC projects, you might find the content in this book useful as a refresher. You might have worked in previous versions of Visual Studio and MVC and want a fast no-fluff way to get up to speed with MVC 5.

Prerequisites:
•C# (you need to be proficient)
•MVC 5 (you need some prior experience)
•HTML5/CSS3 (you need basic knowledge)
•JavaScript/JQuery (you need basic knowledge)

In this book you will learn how to build an MVC 5 website using C#, Entity Framework, HTML5, CSS, JavaScript and Ajax.

•Create a "real world" code-first database using Entity Framework.
•Add and modify models, views and controllers to perform CRUD operations against the database.
•Use client-side and server-side validation.
•Secure the controllers, actions and view content with authorization and roles.
•Implement security with ASP.NET Identity (authentication, authorization and roles).
•Use JavaScript, JQuery and Ajax to build a great end-user interface with asynchronous server calls.
•Style the user interfaces using CSS3 and Bootstrap.
•Create a responsive website.
•Implement product subscription scenarios with registration codes.
•Create an alternate way to login to the application.
•Implement password reset functionality.
•Register users with the site.
•Manage users and their subscriptions.

Technologies, frameworks and languages:
•C# (you need to be proficient)
•HTML5/CSS3 (you need basic knowledge)
•JavaScript/JQuery (you need basic knowledge)
•MVC 5 (you will create/modify models, views and controllers)
•Razor syntax (to include server-side code in views)
•Bootstrap (used for styling and to create a responsive design)
•Ajax (used for asynchronous server calls)
•LINQ (to query the database)
•Extension methods (to clean up your C# code and enable re-use)
•HTML Helper methods (to clean up your HTML and enable re-use)
•Use settings from the web.config file

ASP.NET MVC 5

ASP.NET MVC is another option available to ASP.NET developers for creating web applications on the .NET platform.

ASP.NET MVC is an implementation of the MVC pattern. MVC is an architectural pattern which provides guidelines on how to structure the application.It is specially suited to the web applications of today as it provides a loosely coupled approach to structure the application.According to MVC pattern the application is separated into three different components.

Model  The Model contains the business entities our application deals with as well as the business logic or business rules for our application.This is usually a class which talks to the database to fetch and update data.

View The view is just a template which is used to generate the user interface such as HTML.

Controller  The controller is responsible for accepting user input, performing operations on the model and selecting the view to render.

We can depict the relationship between the Model ,View and Controller with the below diagram.As we can see the controller is the Main component as it coordinates with both the View and the Model.Also note that the View is aware of the Model while Model is not aware of View.The advantage that this provides is that our application is loosely coupled.

mvc architecture

MVC pattern separates the application in three main components

The main advantages of using  ASP.NET MVC are

Separation of Concerns As the Model,View and Controller are separate we can update or replace any of the components without effecting the rest of the application.This results in better maintenance of the code.

Testability  As the controller are independent classes in MVC ,and not tightly coupled to the UI as WebForms , we can very easily unit test the application logic that the controller classes contains.

LightWeight  As there is no view state in MVC so the generated HTML is significantly smaller in size as compared to WerbForms.

Control over HTML and CSS   In WebForms there is HTML which is generated by the server controls over which we have little or no control.MVC doesn’t have server controls like webforms ,instead we provide the HTML that we want to return to the user.As we write the HTML so we can write HTML that is required.

MVC framework is defined in the System.Web.Mvc assembly.So we need to include this assembly in our MVC applications.

There has been many releases of MVC. The last official release was MVC 5. The preview of MVC 6 is also available now.

MVC 5 which was released as a part of visual studio 2013 has many new features.Some of these features are

ASP.NET Identity  The previous membership system has been replaced with ASP.NET identity which provides some nice features such as a authentication using login providers such as twitter.

Supports Bootstrap framework  Bootstrap is the most famous HTML, CSS, and Javascript framework for creating responsive and mobile first web sites.It is a totally free framework.

Attribute based routing  We can attach the attributes directly to the controller classes and action methods.In the previous versions we can add the routes only in a separate RouteConfig.cs file.

Scaffolding  This is a process which generates code based on our model classes.This is an automatic process so we don’t need to write the boilerplate code by hand as the basic structure is generated for us.

So this was just an introduction to ASP.NET MVC framework.The next article Controller in MVCdescribes controller ,which is one of the most important parts of mvc application, in more detail.

DotNet Tranining

https://www.credosystemz.com/training-in-chennai/best-dotnet-training-in-chennai/

Why Use ASP .Net For Building Your Website

Not Just for Business Applications: Why You Should Choose ASP.NET for Your Next Website

ASP.NET is a platform that is backed by the power of Microsoft that can use any .NET-supported language, and was created to provide developers with an easy scripting tool to create web apps and pages. It is a successor to ASP (Active Server Pages), which was pioneered by Microsoft in the mid-90s. The early domination of the web browser marketby Internet Explorer helped increase the popularity of ASP.NET. Unlikely PHP, which is a true programming language, ASP.NET is a web framework – actual programming on ASP.NET is generally done in C#, or much more rarely in VB.NET. While ASP.NET is often utilized for building websites, it also has a life outside web programming with a great deal of business applications, gaming and mobile programming; unlike “competitor” PHP, which is used almost exclusively for web.

Extensibility

One of the key benefits of utilizing ASP.NET to build your website is that if your organization is a .NET shop overall, then it will be much easier to tie into your existing business applications that are already built within this platform paradigm. There is also an immense network of support for ASP.NET – from bloggers to fellow developers to gurus who are willing to answer questions for free and help with code snippets. This definitely isn’t a platform that will leave you feeling like you’re alone on a deserted island – the community is alive, efficient, and highly-structured.

Scalability

Consider that one of the most-used websites ever was built on an ASP.NET platform: MySpace. While MySpace was edged out by PHP-built Facebook, it is still a massive site for artists and musicians and had to manage unbelievable amounts of content and go through multiple upgrades throughout its life.

Development Costs

While you may hear the name “Microsoft” and think “expensive”, this isn’t necessarily the case. Microsoft is known for never giving anything away for free but for whatever reason they have made an exception with ASP.NET – you can get everything you need to develop ASP.NET applications without spending a dime. If you’re a beginner with ASP.NET, Microsoft offers WebMatrix, a dev environment that is created just for beginners with a built-in web server (IIS Express) as well as a database engine (SQL Compact Edition), plus deployment tools to get your site to a remote host. Students should check out the DreamSpark program to receive free copies of Visual Studio Pro, Windows Server Oss, and Expression Studio.

The Express editions of Visual Studio are free for more advanced users, although the functionality is trimmed down from the full Visual Studio – it has a built-in web server but no database engine. However, Microsoft has that covered, too, with their SQL Server Express that can be used for dev and even some deployment situations. Anything you develop with the Visual Web Developer Express (VWD) can be opened in the full version, should you decide to purchase it.

Assumptions

There are some assumptions that you may have heard about ASP.NET website development: that it’s only for large enterprise-class websites, that it’s a closed environment, that it’s Windows only, that it’s static instead of dynamic (not necessarily a bad thing!), and that it’s a horrid choice for small, personal websites. While Microsoft as an organization definitely has an enterprise mentality, ASP.NET is surprisingly suitable even for smaller projects. It’s extensively utilized for Windows Phone, Azure, and other business environments, but the pure simplicity of the platform leads it to be an excellent choice for smaller projects that don’t need to be complex or over-engineered, especially with the WebMatrix development option for beginners.

While some may feel that ASP.NET is overkill for very small business websites, the platform is quite flexible, has excellent scalability and community support, and easily ties in with .NET business applications – which can add long-term value to your website in a way that other platforms may not support.

Sources:

http://www.codeproject.com/Tips/816904/Why-Use-ASP-NET-for-Web-Development
http://www.asp.net/aspnet/overview/making-websites-with-aspnet/making-websites-with-aspnet
http://www.asp.net/get-started/websites
http://www.sitepoint.com/asp-dot-net-basics/
http://www.jankoatwarpspeed.com/discussion-why-web-designers-often-use-php-over-asp-net/
https://www.linkedin.com/pulse/20141114182637-12880086-php-vs-asp-net-what-you-should-really-be-comparing-instead
https://blog.udemy.com/php-vs-asp-net/

What is the future of ASP.NET? What will benefit an ASP.NET?

ASP .NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-based, Internet-connected applications. With ASP .NET Core, you can:
  • Build web apps and services, IoT apps, and mobile back ends.
  • Use your favorite development tools on Windows, macOS, and Linux.
  • Deploy to the cloud or on-premises.
  • Run on .NET Core or .NET Framework

Here is the Scope of ASP. Net Developers in various Domain

  • E- Commerce.
  • Construction Industry Information Technology Services/IT Consulting.
  • IT/Web Services.
  • Travel & Tourism.
  • Finance.
  • Social Networking
  • Social Plug-in Widgets
  • Construction Industry.
  • Print Media
  • Blog Widgets
  • Insurance
  • C# and .Net framework
  • HTML & CSS
  • MVC
  • WCF, WPF
  • Entity Framework
  • Web-Api
  • JavaScript (MVW framework, J-Query )
  • Bootstrap and XML
  • Ms Sql (Microsoft SQL server)
  • Understanding of client-side technologies
  • Database application
  • Microsoft certified solutions developer (MCSD)
  • Microsoft MVP (Most Valued Professional)

Bootstrap Datetimepicker

March 16, 2018 00:28

Bootstrap Datetimepicker 4 (edit)

https://stackoverflow.com/questions/40035730/bootstrap-date-time-picker

https://stackoverflow.com/questions/23137720/disable-time-in-bootstrap-date-time-picker

https://stackoverflow.com/questions/40035730/bootstrap-date-time-picker

https://stackoverflow.com/questions/23137720/disable-time-in-bootstrap-date-time-picker

https://stackoverflow.com/questions/35778600/bootstrap-datepicker-locale-with-momentjs

https://stackoverflow.com/questions/33918017/bootstrap-datepicker-how-to-use-specific-time-zone

Bootstrap Datetimepicker 3

http://www.skimedic.com/blog/post/2015/04/03/Using-a-DateTime-Picker-for-ASPNET-MVC-5-with-Bootstrap.aspx

http://eonasdan.github.io/bootstrap-datetimepicker/#options

https://stackoverflow.com/questions/40035730/bootstrap-date-time-picker

https://stackoverflow.com/questions/24410685/bootstrap-3-datetimepicker-3-0-0-week-starts-at-monday

https://stackoverflow.com/questions/19382189/change-language-for-bootstrap-datetimepicker

https://stackoverflow.com/questions/22846525/bootstrap-datetimepicker-not-working

Instead of using moment.js I used moment-with-langs.js (I guess it came with default package ASP.NET MVC 5).

By calling:

<script type="text/javascript">
    $('#DateTime').datetimepicker({
        language: "hr"
    });
</script>

thing works, finally the calender starts from monday.

UPDATE: Even better, add key to web.config

<appSettings>    
    <add key="Culture" value="hr" />
</appSettings>

and then

$(document).ready(function () {
    $(document).on('focus', '#Date', function () {
        $(this).datetimepicker({
            locale: '@System.Configuration.ConfigurationManager.AppSettings["Culture"]',
            format: 'DD:MM:YYYY',
        });
    });
});

Categories

Recent posts