-->

Thursday, June 22, 2017

Read, Write Cookies Example in ASP.NET CORE 1.1

In this example, I will show you how to store temporary values in cookies. In ASP.NET Core we have a CookieOption class to store cookies in Text File.  I have a video tutorial for you to create and read cookies in ASP.NET CORE.


Sunday, June 18, 2017

How to use Session in ASP.NET Core 1.1

First to update your visual studio by using visual studio installer.  I am currently working in this version of visual studio . Get the current version of visual. I use session in this version , and session have work perfectly.

1. First to Add the Microsoft.AspNetCore.Session NuGet package to your project.


Now you can use session , watch this video and learn more about session.

Friday, June 16, 2017

How to pass string type array from Controller to View in ASP.NET Core

First to remember that when we pass array, List or any collection from controller to view then must to add model with IEnumerable<type> . Here IEnumerable refer to collection.  After that you can retrieve items using for-each loop.



Thursday, June 15, 2017

Create RadioButtonList, Get selected value From RadioButtonList in ASP.NET Core

A RadioButtonList have some multiple radio buttons , I mean to say that using loop its looking like a RadioButtonList. In ASP.NET CORE 1.1 , MVC we have to show you, how to create a Radio Button List in it.   We have to show you an Example of RadioButton List in ASP.NET CORE.





Tuesday, May 16, 2017

ASP.NET Hindi Video Tutorials


यदि आप ASP.NET WEBFORM सीखना चाहते हैं तो आप यह प्लेलिस्ट का उपयोग कर सकते हैं | इस प्लेलिस्ट के अन्दर आपको शुरुवात से बताया जायेगा की आपको कैसे विसुअलस्टूडियो को ओपन करना कैसे उसके विंडोज जैसे की सलूशन एक्स्प्लोरर , टूलबॉक्स, सरवर एक्स्प्लोरर इत्यादि  को कैसे काम में लेना हैं |

इस प्लेलिस्ट के अन्दर हर उस कण्ट्रोल का विडियो बनाया गया हैं जो की टूलबॉक्स में उपस्थित हैं | जैसे की ड्रापडाउनलिस्ट, लिस्त्बोक्स, चेकबॉक्स, रेडियोबटन इतियादी |

इस प्लेलिस्ट में आपको बताया जायेगा की फ्रंट एंड एप्लीकेशन को बेकएंड एप्लीकेशन से कैसे जोड़ा जाता हैं कहने का मतलब हैं  डाटाबेस की कनेक्टिविटी कैसे की जाती हैं |

Dynamic  एप्लीकेशन पर कैसे StyleSheet और कैसे थीम को कनेक्ट किया जाता हैं |  Entity Framework को पूरा हिंदी में सिख सकते हैं |  LINQ को हिंदी में सिख सकते हैं |  Validation कण्ट्रोल क्या होते हैं कैसे उनका उपयोग किया जाता हैं सब कुछ सिर्फ इस एक प्लेलिस्ट के माध्यम से सिख सकते हैं | 

Thursday, March 23, 2017

How to create Database in ASP.NET CORE 1.1 using model first

Technology changes, code optimization, newly design asp.net core 1.1. This article i wrote for you who want to make database in asp.net core 1.1, its a very simple technique provide by Microsoft developers. Thanks guys. Let start how to do this,  you can follow these steps to design database in it.

Step-1: Create a new project in ASP.NET CORE using Visual Studio 2017 by the using following picture
Create new project
select aspnet core version 1.1

change authentication in aspnet core

Step-2: In Model folder, add a new Student.cs class. Add some properties in it. But make sure , one primary key have in it.
Step-3: Similarly in previous make, a new DataContext class for communicating table.

Check this video for full details


Friday, July 15, 2016

JQuery Notification bar on top of the page

JQuery Notification bar on Top of the web page. This is the new thing in the mind i.e when we click on hyperlink then show a division with some message on top of the web page. The logic behind the thing is too much simple, In JQuery we have two method slideUp( ) and slideDown( ) , which are used for animation.  In this article , i have used both.

Application of the article:

  1. If you want to give special notice on website then you can use it.
  2. Use it in Current News Section.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>JQuery: Notification bar Example </title>
    <script src="Scripts/jquery-1.10.2.js"></script>
    <script>
        $(function () {
            $("#Button1").click(function () {
                $("#NotificationDiv").slideUp('slow');
            });


            $("#ShowNotificationBar").click(function () {
                $("#NotificationDiv").slideDown('slow');
            });



        });
    </script>
    <style>
.NotficationBar{
    background-color:blue;
    color:white;
    position:absolute;
    width:100%;
    top:0px;
    left:0px;
    text-align:center;
    border-bottom-width:3px;
    border-bottom-color:#000000;
    border-bottom-style:solid;
    padding:15px;
}



    </style>
</head>
<body>
    <div id="NotificationDiv" class="NotficationBar">
        <label>Welcome to dotprogramming.blogspot.com</label>
        <br/>
        <input type="button" id="Button1" value="close"/>
            </div>
    <div>
        <a href="" id="ShowNotificationBar">Show Notification Bar </a>
    </div>
</body>
</html>

© Copyright 2013 Computer Programming | All Right Reserved