Download - Yogesh kumar kushwah represent’s
![Page 1: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/1.jpg)
YOGESH KUMAR KUSHWAH
REPRESENT’S
A project on gate pass system
• Which shows many attributive properties
![Page 2: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/2.jpg)
ASP.NET AJAX
![Page 3: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/3.jpg)
Gate pass system
It provides security.
It includes many steps to show security level.
It shows a comparability with passing elements.
![Page 4: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/4.jpg)
comparability
2.Show status
3.Pass the element
1.Check element
![Page 5: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/5.jpg)
Restore the elements
0.5 1 1.5 2 2.5 30
0.5
1
1.5
2
2.5
3
3.5Y-Values
Y-Values
![Page 6: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/6.jpg)
Requirment
1.Hardware environment . 2. Software environment .
1.Insert data from the table.• Use
standard data table.
• Use login data table.
2.Update the existing data in table.• Use
standard data table
• Use login data table.
3.Delete the data from table.• Use
standard data table.
• Use login data table.
![Page 7: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/7.jpg)
Usable field
1.Technical areas. (a) Front end (b) Back end
[A] Mysql [B]Visual basic 2010
![Page 8: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/8.jpg)
Outline
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
![Page 9: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/9.jpg)
AJAX Sites
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/
![Page 10: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/10.jpg)
Acronym
Asynchronous JavaScript And XML
![Page 11: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/11.jpg)
Standard ASP.NET Application
`
Client (Web Browser) Web Server
Initial Web Page Request(WebPage.aspx)
Full Post Backs
![Page 12: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/12.jpg)
`
Client (Web Browser) Web Server
Initial Web Page Request(WebPage.aspx)
Async Requests
Invisible To The User
AJAX Application
Client side script updates the content of the page using the data returned from the async requests
![Page 13: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/13.jpg)
Demos
Enhance Existing Pages Update Progress Bar Timer Control
![Page 14: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/14.jpg)
ASP.NET Page Life Cycle
The ScriptManager’s PageRequestManager steps in during PreRender() and replaces the Page’s Render() method with one that renders Update Panel content.
![Page 15: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/15.jpg)
15
Forms Authentication FlowCookie-Based Authentication Architecture
Client requests page
Authorized
ASP.NET Authentication
Not Authenticated Authenticated
Login Page(Users enter their credentials)
Authenticated
Cookie
Authorized
Not Authenticated
Access Denied
RequestedPage
![Page 16: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/16.jpg)
16
Passport Authentication
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/
![Page 17: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/17.jpg)
17
Role-Based Security
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
![Page 18: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/18.jpg)
18
Code Impersonation
Call LogonUser API Call ImpersonateLoggedOnUser API
Run the code in the security context of the impersonated user
Call RevertToSelf
![Page 19: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/19.jpg)
MICROSOFT .NETFRAMEWORK OVERVIEW
![Page 20: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/20.jpg)
FAQ What is .net? Why use .net? What is the origin of .net Technologies?
![Page 21: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/21.jpg)
What is .NET?
.Net is a collection of Microsoft Products: C#, ADO.NET, VB.NET, ASP.NET, J# etc.
![Page 22: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/22.jpg)
Why use .Net? 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
![Page 23: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/23.jpg)
Process of Source Code to Machine Code
Source Code
Complier
IL + Meta Data
PE File
CLRGC,CTS,CLS,CAS etc.
JIT
Assembly:DLL/EXE
Precompiled JIT
Economical JIT
Normal JIT
RAMManifest:-1. Assembly version2. Public token key3. Resources4. References
Managed Code
![Page 24: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/24.jpg)
DATASET
http://adoguy.com
DataSet
Tables
DataTableDataTable
RowsRows
DataRowDataRow
DataRelation
Constraint
ForeignKeyConstraint
![Page 25: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/25.jpg)
contd…
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>")}}
![Page 26: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/26.jpg)
Insert Command 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()
![Page 27: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/27.jpg)
Update Command
Add a Button control to the Web Forms pageSqlConnection 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()}
![Page 28: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/28.jpg)
Update Commandcontd..
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{}
![Page 29: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/29.jpg)
Delete Command 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 {}
![Page 30: Yogesh kumar kushwah represent’s](https://reader033.vdocuments.us/reader033/viewer/2022061214/5499a51cb47959a66e8b4597/html5/thumbnails/30.jpg)
THANKS !