.NET - ILLYAKO/mywiki GitHub Wiki
.NET
https://youtu.be/rOhuQYKE2iQ?si=FsreytEBhb1TEUlk
Download Visual Studio Community from https://visualstudio.microsoft.com/ Open VisualStudioSetrup.exe file Choose 'ASP.NET and web development', '.NET desktop development' Install Open Visual Studio -> Create new project- there is more tools in the bottom of window. -> Modify(the VS tools will be modified) Create new project -> Windows Forms App (choose language VB or C#). -> Next
Type Project Name and location. -> Next Choose Net framework 4.7 -> Create View - Toolbox View - Server Explorer (DB connection)
Drug UI elements(label, textbox, button) from Toolbox and Drop on the new Form.
Connect to DB: Sever Explorer- Data Connectoion - right click -Refresh -Add Connection - Microsoft SQL Server- Continue setup DB.
Create ASP.NET web application Open Visual Studio - Create a new project - ASP.NET Web Application(.NET Framework) - C# - Give Project Name - Empty
The IIS server is requered. Control panel - Turn Windows features on or off - Internet Information Services - Web Management Tools, World Wide Web Services
Add file. Go to Visual Studio - Solution Explorer - right click on app - Add - Web Form - Give a name - in the html template add code and save. Run IIS server.
https://youtu.be/3XCBkpN1U40?si=ZFRm2RKpb1YHEr2C Visual Studio - File - New - Project - ASP.NET Web Application (.NET Framework) - C# -Next - Give the Project Name: 'ASPLoginForm' - Create - Empty - Create. Solution Explorer - Right Click on the project name 'ASPLoginForm' - Add - Web Form - give the name 'login' in login.aspx file create
with login fields
View - Toolbox From Toolbox drug and drop a textbox, first textbox is Username, second textbox is Password, Change TextMode property second textbox in the properties TextMode:Password. add button Go to Design(bottom left) and double click on button, login.aspc.cs file will be opened Go to Design choose the textbox and on right in the properties change the ID of box.
https://youtu.be/42ymcIZHOVo?si=Qmc1B1oPmQOBM3Ri Create new Web Form Project and add Web Form.
Control Panel - Windows Tools - Computer Management -
https://www.youtube.com/watch?v=o_lmRHkLvp8&ab_channel=Hacked
Visual Studio Community 2019 and ASP.NET and web development
File -> Open -> Web Site -> Local IIS-> choose IIS Express Sites-> icon 'Create New Site' on right top side Type the name "illyatest1" Click Open button
in Solution Explorer choose new created solution "illyatest1", right click, add new folders 'css' and 'js' right click on the project folder and add new item, choose 'HTML file' and call it index.html right click on the css folder and add new item, choose 'Style Sheet' and call it 'style.css'
in Solution Explore choose index.html right click, and select 'Set As Start Page'.
Click on the green arrow button (IIS Express (Google Chrome)). In the message window 'Debugging Not Enabled' choose 'Run without debugging.
Create a new project
Choose Visual Basic Window Forms App (.NET FrameworkW) ->Next
Project name: IllyaApplication Location: C:\myProjectss Tik checkbox Place solution and project in the same directory. Framework: .NET Framework 4.7.2 ->Create
Form1 on the main screan. Drug Button from left Toolbox to Form1 and Drop. Select new created Button and change text in the right sid in the Property to "Press Here"