SlideShare uma empresa Scribd logo
1 de 30
A project on gate pass system
•Which shows many attributive
 properties
   It provides security.      It shows a
   It includes many            comparability with
    steps to show               passing elements.
    security level.
1.Check   2.Show
element   status


    3.Pass the
     element
3.5
          Y-Values
 3
2.5
 2
1.5
 1
                         Y-Values
0.5
 0
      0   1     2    3     4
Requirment
                            1.Insert        2.Update        3.Delete
1.Hardware environment .
2. Software environment .
                            data            the             the data
                            from the        existing        from
                            table.          data in         table.
                            • Use           table.          • Use
                              standard      • Use             standard
                              data table.     standard        data table.
                            • Use login       data table    • Use login
                              data table.   • Use login       data table.
                                              data table.
   [A] Mysql
                         [B]Visual basic 2010
Usable field
1.Technical areas.
(a) Front end
(b) Back end
   Defining AJAX
   ASP.NET AJAX
   Including ASP.NET AJAX
   Script Manager
   Update Panel
   Client Networking - Web/Script Services
   Extender Controls - Control Toolkit
   Client Side JavaScript Development
   GMail – http://mail.google.com
   Google Maps – http://maps.google.com
   Outlook Web Access
   PageFlakes - http://www.pageflakes.com/
   Smart Scoreboard - http://www.smartscoreboard.com/
   Asynchronous
   JavaScript
   And
   XML
Initial Web Page Request
                             (WebPage.aspx)




                           Full Post Backs

                `




Client (Web Browser)                              Web Server
Initial Web Page Request
                               (WebPage.aspx)



                           Async Requests


                          Invisible To The User
                `



                       Client side script
                       updates the content of
Client (Web Browser)   the page using the           Web Server
                       data returned from the
                       async requests
   Enhance Existing Pages
   Update Progress Bar
   Timer Control
The ScriptManager’s
PageRequestManager steps in
during PreRender() and replaces
the Page’s Render() method with
one that renders Update Panel
content.
15
    Single sign-in across member sites
    Includes user profiles services
    Integrated into ASP.NET authentication
    Scenarios
        Don’t want to maintain a database of users
        Provide personalized content
        Need to provide single-sign in capabilities
    More details at http://www.passport.com/


16
    What is this?
    Do not get confused with MTS and COM+ role-
     based security
    How does this work?
        With Microsoft® Windows® users
        With non-Windows users




17
   Call LogonUser API
    Call ImpersonateLoggedOnUser API
        Run the code in the security context of the
         impersonated user
    Call RevertToSelf




18
   What is .net?
   Why use .net?
   What is the origin of .net Technologies?
   .Net is a collection of Microsoft Products:
    C#, ADO.NET, VB.NET, ASP.NET, J# etc.
   Platform Independent
   Multilanguage Support
   Multi Application Support
   User friendly
   Easy to develop and deploy
   Easy to Learn
   Reduce line of code
   Provide better security of application
Source Code
                                           PE File
                       Complier
                                              Assembly:
                      IL + Meta Data
                                              DLL/EXE
CLR
GC,CTS,CLS,CAS etc.                         RAM
                                            Manifest:-
                                            1. Assembly version
                         Precompiled JIT    2. Public token key
                                            3. Resources
      JIT                Economical JIT     4. References

                         Normal JIT
    Managed Code
DataSet



 Tables

                                        DataTable
    DataTable
                                         Rows
     Rows
                                          DataRow
      DataRow




                    DataRelation



                      Constraint



                ForeignKeyConstraint
                    http://adoguy.com
myConn.Open();
   myComm = New SqlCommand("Select * from
   csc", myConn);
   dr = myComm.ExecuteReader();
   }
Catch {}
if(dr.HasRows)
{
While( dr.Read)
{
   Response.Write(dr(0) & " ")
   Response.Write(dr(1) & " ")
   Response.Write(dr(2) & "<br>")
   }}
Add a Button control to the Web Forms page    .




    Protected Insert_Click( sender ss, EventArgs e)
{
    myConn = new SqlConnection(“server=.;Database=
     =cmcdb;user ID=sa;password=admin@123”);
     myConn.Open();

int sa = myComm.ExecuteNonQuery();
If(sa>=1)
{
    Response.Write("Records inserted" & " " & sa)
}
    myConn.Close()
Add a Button control to the Web Forms page
SqlConnection con;
SqlDataAdapter da;
SqlCommand cmd;

    Protected void Page_Load(sender ss, EventArgs e)
{
     con = new SqlConnection(“server=.;Database= =cmcdb;user
    ID=sa;password=admin@123 ");
     If( con.State = ConnectionState.Closed )
{
con.Open()
}
Protected Button1_Click(sender ss, EventArgs e)
{
      Try
        cmd = new SqlCommand("update               csc   set
  name='abirami' where rollno=906471", con)
int sa = cmd.ExecuteNonQuery()

if(sa>=1)
{
       Response.Write("Records Updated" & " " & sa)
       con.Close()
}}
     Catch{}
Protected void Delete_Click(Object ss, EventArgs ee)
Try
{
    myConn = new SqlConnection(“database=cmcdb;_
    server=.;integrated security=true")
    myConn.Open()
    myComm = new SqlCommand("Delete from csc where
    rollno=906489", myConn)
    int sa = myComm.ExecuteNonQuery()
    if(sa>=1)
{
Response.Write("Records deleted “ + sa)
}}
    Catch {}
   THANKS !

Mais conteúdo relacionado

Mais procurados

9781305078444 ppt ch11
9781305078444 ppt ch119781305078444 ppt ch11
9781305078444 ppt ch11
Terry Yoast
 

Mais procurados (20)

Creating a Java EE 7 Websocket Chat Application
Creating a Java EE 7 Websocket Chat ApplicationCreating a Java EE 7 Websocket Chat Application
Creating a Java EE 7 Websocket Chat Application
 
Url programming
Url programmingUrl programming
Url programming
 
Jdbc example program with access and MySql
Jdbc example program with access and MySqlJdbc example program with access and MySql
Jdbc example program with access and MySql
 
Discover the Power of the NoSQL + SQL with MySQL
Discover the Power of the NoSQL + SQL with MySQLDiscover the Power of the NoSQL + SQL with MySQL
Discover the Power of the NoSQL + SQL with MySQL
 
9781305078444 ppt ch11
9781305078444 ppt ch119781305078444 ppt ch11
9781305078444 ppt ch11
 
Ajax chap 3
Ajax chap 3Ajax chap 3
Ajax chap 3
 
Ajax chap 2.-part 1
Ajax chap 2.-part 1Ajax chap 2.-part 1
Ajax chap 2.-part 1
 
Dicoding Developer Coaching #32: Android | Reactive Programming dengan RxJava...
Dicoding Developer Coaching #32: Android | Reactive Programming dengan RxJava...Dicoding Developer Coaching #32: Android | Reactive Programming dengan RxJava...
Dicoding Developer Coaching #32: Android | Reactive Programming dengan RxJava...
 
Web II - 02 - How ASP.NET Works
Web II - 02 - How ASP.NET WorksWeb II - 02 - How ASP.NET Works
Web II - 02 - How ASP.NET Works
 
Connecting and using PostgreSQL database with psycopg2 [Python 2.7]
Connecting and using PostgreSQL database with psycopg2 [Python 2.7]Connecting and using PostgreSQL database with psycopg2 [Python 2.7]
Connecting and using PostgreSQL database with psycopg2 [Python 2.7]
 
Benchx: An XQuery benchmarking web application
Benchx: An XQuery benchmarking web application Benchx: An XQuery benchmarking web application
Benchx: An XQuery benchmarking web application
 
Java Servlet
Java ServletJava Servlet
Java Servlet
 
Data Management 2: Conquering Data Proliferation
Data Management 2: Conquering Data ProliferationData Management 2: Conquering Data Proliferation
Data Management 2: Conquering Data Proliferation
 
SquiDB: a SQLite layer for Android - Jonathan Koren, Yahoo!
SquiDB: a SQLite layer for Android - Jonathan Koren, Yahoo!SquiDB: a SQLite layer for Android - Jonathan Koren, Yahoo!
SquiDB: a SQLite layer for Android - Jonathan Koren, Yahoo!
 
SQLite with UWP
SQLite with UWPSQLite with UWP
SQLite with UWP
 
GraphQL Bangkok Meetup 2.0
GraphQL Bangkok Meetup 2.0GraphQL Bangkok Meetup 2.0
GraphQL Bangkok Meetup 2.0
 
NoSQL and JavaScript: a Love Story
NoSQL and JavaScript: a Love StoryNoSQL and JavaScript: a Love Story
NoSQL and JavaScript: a Love Story
 
JSP- JAVA SERVER PAGES
JSP- JAVA SERVER PAGESJSP- JAVA SERVER PAGES
JSP- JAVA SERVER PAGES
 
Spring 4 final xtr_presentation
Spring 4 final xtr_presentationSpring 4 final xtr_presentation
Spring 4 final xtr_presentation
 
Enable Database Service over HTTP or IBM WebSphere MQ in 15_minutes with IAS
Enable Database Service over HTTP or IBM WebSphere MQ in 15_minutes with IASEnable Database Service over HTTP or IBM WebSphere MQ in 15_minutes with IAS
Enable Database Service over HTTP or IBM WebSphere MQ in 15_minutes with IAS
 

Semelhante a Yogesh kumar kushwah represent’s

Whidbey old
Whidbey old Whidbey old
Whidbey old
grenaud
 
Windows Remote Management - EN
Windows Remote Management - ENWindows Remote Management - EN
Windows Remote Management - EN
Kirill Nikolaev
 
C# and ASP.NET Code and Data-Access Security
C# and ASP.NET Code and Data-Access SecurityC# and ASP.NET Code and Data-Access Security
C# and ASP.NET Code and Data-Access Security
Darren Sim
 
DotNet Introduction
DotNet IntroductionDotNet Introduction
DotNet Introduction
Wei Sun
 

Semelhante a Yogesh kumar kushwah represent’s (20)

Whidbey old
Whidbey old Whidbey old
Whidbey old
 
.net Framework
.net Framework.net Framework
.net Framework
 
Windows Remote Management - EN
Windows Remote Management - ENWindows Remote Management - EN
Windows Remote Management - EN
 
C# and ASP.NET Code and Data-Access Security
C# and ASP.NET Code and Data-Access SecurityC# and ASP.NET Code and Data-Access Security
C# and ASP.NET Code and Data-Access Security
 
Deploying windows containers with kubernetes
Deploying windows containers with kubernetesDeploying windows containers with kubernetes
Deploying windows containers with kubernetes
 
Silverlight 2 For Developers
Silverlight 2 For DevelopersSilverlight 2 For Developers
Silverlight 2 For Developers
 
C++ Windows Forms L01 - Intro
C++ Windows Forms L01 - IntroC++ Windows Forms L01 - Intro
C++ Windows Forms L01 - Intro
 
DotNet Introduction
DotNet IntroductionDotNet Introduction
DotNet Introduction
 
Internet Explorer 8
Internet Explorer 8Internet Explorer 8
Internet Explorer 8
 
Asp.net
Asp.netAsp.net
Asp.net
 
Perf test Eng interview preparation
Perf test Eng interview preparationPerf test Eng interview preparation
Perf test Eng interview preparation
 
Application Security Workshop
Application Security Workshop Application Security Workshop
Application Security Workshop
 
Scaling asp.net websites to millions of users
Scaling asp.net websites to millions of usersScaling asp.net websites to millions of users
Scaling asp.net websites to millions of users
 
How to build a Citrix infrastructure on AWS
How to build a Citrix infrastructure on AWSHow to build a Citrix infrastructure on AWS
How to build a Citrix infrastructure on AWS
 
Languages and tools for web programming
Languages and tools for web  programmingLanguages and tools for web  programming
Languages and tools for web programming
 
Languages and tools for web programming
Languages and tools for web  programmingLanguages and tools for web  programming
Languages and tools for web programming
 
Java- JDBC- Mazenet Solution
Java- JDBC- Mazenet SolutionJava- JDBC- Mazenet Solution
Java- JDBC- Mazenet Solution
 
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
 
Apache Samza 1.0 - What's New, What's Next
Apache Samza 1.0 - What's New, What's NextApache Samza 1.0 - What's New, What's Next
Apache Samza 1.0 - What's New, What's Next
 
What's new in the July 2017 Update for Dynamics 365 - Developer features
What's new in the July 2017 Update for Dynamics 365 - Developer featuresWhat's new in the July 2017 Update for Dynamics 365 - Developer features
What's new in the July 2017 Update for Dynamics 365 - Developer features
 

Yogesh kumar kushwah represent’s

  • 1. A project on gate pass system •Which shows many attributive properties
  • 2.
  • 3. It provides security.  It shows a  It includes many comparability with steps to show passing elements. security level.
  • 4. 1.Check 2.Show element status 3.Pass the element
  • 5. 3.5 Y-Values 3 2.5 2 1.5 1 Y-Values 0.5 0 0 1 2 3 4
  • 6. Requirment 1.Insert 2.Update 3.Delete 1.Hardware environment . 2. Software environment . data the the data from the existing from table. data in table. • Use table. • Use standard • Use standard data table. standard data table. • Use login data table • Use login data table. • Use login data table. data table.
  • 7. [A] Mysql [B]Visual basic 2010 Usable field 1.Technical areas. (a) Front end (b) Back end
  • 8. Defining AJAX  ASP.NET AJAX  Including ASP.NET AJAX  Script Manager  Update Panel  Client Networking - Web/Script Services  Extender Controls - Control Toolkit  Client Side JavaScript Development
  • 9. GMail – http://mail.google.com  Google Maps – http://maps.google.com  Outlook Web Access  PageFlakes - http://www.pageflakes.com/  Smart Scoreboard - http://www.smartscoreboard.com/
  • 10. Asynchronous  JavaScript  And  XML
  • 11. Initial Web Page Request (WebPage.aspx) Full Post Backs ` Client (Web Browser) Web Server
  • 12. Initial Web Page Request (WebPage.aspx) Async Requests Invisible To The User ` Client side script updates the content of Client (Web Browser) the page using the Web Server data returned from the async requests
  • 13. Enhance Existing Pages  Update Progress Bar  Timer Control
  • 14. The ScriptManager’s PageRequestManager steps in during PreRender() and replaces the Page’s Render() method with one that renders Update Panel content.
  • 15. 15
  • 16. Single sign-in across member sites  Includes user profiles services  Integrated into ASP.NET authentication  Scenarios  Don’t want to maintain a database of users  Provide personalized content  Need to provide single-sign in capabilities  More details at http://www.passport.com/ 16
  • 17. What is this?  Do not get confused with MTS and COM+ role- based security  How does this work?  With Microsoft® Windows® users  With non-Windows users 17
  • 18. Call LogonUser API  Call ImpersonateLoggedOnUser API  Run the code in the security context of the impersonated user  Call RevertToSelf 18
  • 19.
  • 20. What is .net?  Why use .net?  What is the origin of .net Technologies?
  • 21. .Net is a collection of Microsoft Products: C#, ADO.NET, VB.NET, ASP.NET, J# etc.
  • 22. Platform Independent  Multilanguage Support  Multi Application Support  User friendly  Easy to develop and deploy  Easy to Learn  Reduce line of code  Provide better security of application
  • 23. Source Code PE File Complier Assembly: IL + Meta Data DLL/EXE CLR GC,CTS,CLS,CAS etc. RAM Manifest:- 1. Assembly version Precompiled JIT 2. Public token key 3. Resources JIT Economical JIT 4. References Normal JIT Managed Code
  • 24. DataSet Tables DataTable DataTable Rows Rows DataRow DataRow DataRelation Constraint ForeignKeyConstraint http://adoguy.com
  • 25. myConn.Open(); myComm = New SqlCommand("Select * from csc", myConn); dr = myComm.ExecuteReader(); } Catch {} if(dr.HasRows) { While( dr.Read) { Response.Write(dr(0) & " ") Response.Write(dr(1) & " ") Response.Write(dr(2) & "<br>") }}
  • 26. Add a Button control to the Web Forms page . Protected Insert_Click( sender ss, EventArgs e) { myConn = new SqlConnection(“server=.;Database= =cmcdb;user ID=sa;password=admin@123”); myConn.Open(); int sa = myComm.ExecuteNonQuery(); If(sa>=1) { Response.Write("Records inserted" & " " & sa) } myConn.Close()
  • 27. Add a Button control to the Web Forms page SqlConnection con; SqlDataAdapter da; SqlCommand cmd; Protected void Page_Load(sender ss, EventArgs e) { con = new SqlConnection(“server=.;Database= =cmcdb;user ID=sa;password=admin@123 "); If( con.State = ConnectionState.Closed ) { con.Open() }
  • 28. Protected Button1_Click(sender ss, EventArgs e) { Try cmd = new SqlCommand("update csc set name='abirami' where rollno=906471", con) int sa = cmd.ExecuteNonQuery() if(sa>=1) { Response.Write("Records Updated" & " " & sa) con.Close() }} Catch{}
  • 29. Protected void Delete_Click(Object ss, EventArgs ee) Try { myConn = new SqlConnection(“database=cmcdb;_ server=.;integrated security=true") myConn.Open() myComm = new SqlCommand("Delete from csc where rollno=906489", myConn) int sa = myComm.ExecuteNonQuery() if(sa>=1) { Response.Write("Records deleted “ + sa) }} Catch {}
  • 30. THANKS !

Notas do Editor

  1. Demo of comparability steps
  2. 3-D view of different size elements
  3. Table for insert,update &amp; delete.