Getting Started with WebForms

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
how can I start getting my applications or parts of my applications online in a familiar way if I'm an access developer and I really know the event driven model and that's what I'm comfortable with I'm your host Sean McKenzie and today's episode starts a new playlist on web forms which is an awesome technology it's been around for quite a while and it's part of microsoft.net platform and it's a really comfortable way of developing online applications for people that like the the old you know VB way of developing applications with event driven model and models and things like that and so what we're going to do today is we're going to walk through right from the very beginning let's get to it want to hang out in Discord make sure to check out my patreon VIP subscription gets you in there okay guys so today's goal is to create and deploy a web forms application that connects to a database that's it that's where we want to get to today and so first what we're going to do is you can download it just type in download visual studio into Google I highly recommend that you guys get Visual Studio uh 2022 professional if you click on the download you can find either Visual studio.microsoft.com and then click download or you can go directly to a link from here and it'll take you here and you can you can use the Community Edition for free if you're not a commercial or if you're just a very small commercial operation I would recommend you guys go for this professional version here because it does have some neat little it has more features but also it allows you to deploy for many many different kinds of environments so go ahead download install it you can use the default parameters that are there if you see options for Visual Basic make sure that you tick those off you may or may not see those and then when you start it you'll see a screen that looks kind of like this one that where you can clone or open a project or open a local folder or you can continue without code on the very bottom there and what we're going to do today is we're going to create a new project and once the screen changes you'll see that there are some selections if you worked in here before so you can see I've been working with a console app and an asp.net application and you'll see here that you can choose all kinds of languages you could choose c-sharp for example which we are not going to use today or maybe you wanted to choose python oh there's nothing in there for that one I think you have to install that you could use typescript or whatever and today what we're going to use is we're going to use Visual Basic and that xaml one is also cool but we'll cover that in a future episode and then once we've got our visual Basics selected you'll see there's a whole bunch of different kinds of programs that you can make and and different platforms and things like that and you can see here you know you can do you know console desktop applications you can do whatever you know you would like to do and what we're going to do is we'll filter that down by web and that really narrows it down for us and then we can see hey check this out we've got a asp.net web application and that's a project templates for creating asp.net and you know it can use it will use forms MVC or web API and we are going to choose that one and click next and then we'll give it a name and the name I think what we're going to do today is I want to do a very simple say tow truck application that just connects to a list of toe you know a list of tow jobs and some database somewhere and so we're going to do that today and then what we'll do is we'll connect and display a list and that's it in our application and then we'll we will continue on in future episodes now make sure you check that 4.7.2 for your.net framework there you can see the toe operations name is set after you've typed in the project name so you can basically just click next there now in here is where you can choose different kinds of asp.net applications and and the one that we're going to use is called Web forms and web forms is really cool because it lets you build Dynamic websites using the familiar drag and drop event driven model so you can drag and drop controls onto your forms just like you see in other products where there's a bit of sort of rad development and over here you can see if we choose that one it it adds all the folders and everything we need for web forms we're going to configure it for https and we're going to create then note the authentication at the top you can also set your authentication here but we're going to do that a little bit further down the road and then you can click next and it will uh it will go through it oh click create I guess is is the button name there and you'll see It'll spin around for for a little bit and then it'll give you this sort of blank uh project here and there's lots to look at here okay and to get started you can see uh there is some extra information on this starting screen and you can see there's you know build your app so they have some information some gods on how you can write your application and you could take a look at some of those if you'd like to as far as our application goes though the information for that is all over here and these are all the things that we're going to work with as we build an application now this comes kind of stocked and you if you lose your way and you need to find you can go to the view menu and you can choose that Pro or solution Explorer and it will bring all of these forms back so each of those aspx files is a form and this is how it looks in in HTML or the HTML like markup that we have in visual studio and net and you can see that this is a form and it starts um it kind of the content starts and ends and you can see that this is a what we call a Content page and so a Content page is kind of like a form if you come from the access World Microsoft Access each one of these would be a form in your database or if you come from somewhere else these would be separate pages but they are actually rendered inside of a master page which is called site.master and so the site.master has the menus and things in it and then you create a new content page for each of the new say forms or or web pages that you would like to have in your web forms application and so to navigate around you can you can look at all those different things and if you click on the default dot aspx that's the the one that gets executed first and so you can run the application by clicking that play button up in the toolbar and it'll run it locally on your computer you can open it and close it a hundred times as you work on it and change forms and things like that and it'll start a browser each time in order to look at and use the web application that you are designing and so this is what it looks like when it comes out of the box and so you can see it's got a home about contact page it's got an application name and you can change all of those things in that code page that you saw and so each of these buttons you can see they have Co they have hover overs and that's using a technology called bootstrap um to uh to do that but also to make it responsive see if I close it if I make the web browser smaller it changes the aspect of the menu and and it's really really great for that you can see as I expand it out you can see the the little boxes holding the information they either get stacked vertically or they get you know displayed horizontally and so that's something that's really great to work with because you can put your lists and all kinds of things in there and then if somebody opens it on a phone or something small or like a tablet then they they will still get a nice display and so that's one of the things I will point out there and you can see down below here when I close the browser you can see that the code exited so that means that the application stopped now as a shortcut you can press the F5 key on your keyboard and and it will also start the application so you can see I've stopped and started it several times these buttons right now they they link back to some Microsoft content and so we'll take those over and we can change all of the text that is in the application so you can see here that's a header that's heading one and then inside the the P's there P like Papa that's the those are paragraphs and so I could change the name of our application to toe operations and then I could put a description Welcome to our you know our toe application or whatever and um and so we can do that and we can also put links you could change the link of that button below it that goes to asp.net you could change that and point it to some toe information what if your car gets towed or whatever I don't know you know or you could just delete that button entirely and you would delete that um and so there's a little bit of HTML knowledge that you need to know but everything is inside tags and you can also do this in the designer so if you click on the design button in down at the bottom there there's a tab called design and you can see this in a more drag and drop way if you like that better um and so I changed the tech the the title and I re-ran it and you can see now it says toe operations welcome to the toe operations application and of course these buttons don't work yet um and you could change all of these descriptions here or get rid of these these bottom sections but you can see this is exactly what we wanted and now we've got an application but it's still running on our local computer it's running on our computer and keep that in mind as you work on it because we have not deployed it yet and we will go ahead and deploy that here pretty soon and of course once you have your application and you start making changes to it you will want to have a database and so we're going to make a very simple database here so we went into Azure we clicked on Azure SQL type there and then we click new for new database and we're going to go through the steps here and and we're just going to get started so you can see that our Resource Group is empty except for the default one but we want to make a resource Group to hold everything about our toe application or our toe operations application and so we'll we'll call it RG Dash tow operations and that resourcegroup that handles everything databases applications if you have different kinds of objects that are used and logic apps and things they would all go together in this one place and and then that allows us to now we can specify a database name I'll just call it tow Dash operations and then we do need to create a server as well which I'll give the same name you don't have to I will call this one toe Dash operations and then we'll see if that name is still available in database.windows.net and you can see that it is and I'll leave it in the default location there and so we'll have a toe operations database inside a toe operation server and then we could use both SQL and Azure authentication but I think for this for this application I'm going to go ahead and just use SQL authentication so that means just a username and password that's stored in the SQL server and it's one of the three ways that you can deploy your system and so I'm going to give a server name or a server administrator name of toe admin and then I have to put in a password here and so we'll put in a password and make sure that those match and then we can click ok and that will be the start of our new database you can see it's got wow it's got some cost to it so you know they give you a pretty uh pretty good server here if you're really gonna have some throughput on your database as we scroll down here you can see we've got our server created and we're going to switch that one to development that's going to reduce the size of our database considerably now you can put yours into production and choose a smaller a much smaller database size this one has gone from you know four hundred dollars to six dollars per month because a development server is not expected to have a whole bunch of uh you know people working on it and things like that you know users working on it I should say and so so here we go we've got our our setup there you can choose your backup storage redundancy and depends on what you would like for your database I usually just choose the local one unless I have something that needs really needs fault tolerance and uh we can choose our connectivity at this point and I'm going to choose a public endpoint because I want to have an IP address that I can connect to with my SQL Server management Studio to create my database and so I'm going to choose a public endpoint now we are going to allow Azure Services because we want an app service to connect to this database inside of our toe Resource Group and we will also add our current client IP address this is more for you guys I have a bit of a weird Network situation here so I'm going to do it a little differently but you guys should put your own uh IP address in there so that you can connect to the database directly from your computer and start making changes to it so we can go ahead and go through all of the different options here most of these will be defaults we don't have any data you know database collation just leave it as default unless you have a different Collision you'd like to use and then on at the end here on the tags you could type in you know something to do with your operation if you want if you had a lot of databases and you wanted to tag all of the diff the different items and and then be able to view them together you can do that using tags um and so I put a tag in there on that one and so now you can see uh we've got our our database information all in there I'm going to click create and then this is going to sit and churn for a little while while it builds that server for us and then it puts the uh the little database on it now keep in mind if you make additional databases related to the same thing don't make a new server each time because you can add a whole bunch of databases to one server and that is much more efficient depending on what you're doing so you'll see it kind of goes through the options here and and it's deploying our SQL Azure SQL database and so as this is deploying I will encourage you to also download SQL Server management Studio it is free and you can just type in download ssms into Google and find the Microsoft page that has it and you'll get the latest one and then what that does is it it's kind of like uh it's like a little development studio just for working with databases and creating databases and filling them with data or or you know doing backups and all those kinds of things everything to do with databases happens inside of SQL Server management studio and so you can connect to local databases on your network or you can connect to Azure databases in the cloud and that's what we're going to do we're going to use ssms to connect to this new database that we're we are creating and it allows us to do things like create tables and all that kind of stuff so this looks like it is almost done it's going through here now a nice way of developing is to have your own copy of SQL Express on your computer so that you can do all kinds of design work and if there's a lot of data that gets moved around you can do a lot of that stuff locally and then just take your scripts that you you created locally your SQL scripts and then execute them in your Cloud environment when they're all done so that you save on bandwidth and and storage and all that stuff in Azure and so stay tuned for a future episode on doing a local installation of SQL Express just for your development okay so there we go our deployment succeeded so you can see it says you know your deployment is complete and uh and you know gives you some information and we can just click that go to Resource and it'll take us right to our new database that has been created there and you can see that it has a name at the top there the toadash operations and if I click on the connection strings you can see this ado.net connection string is here it's the first one and that's for our Microsoft environment and that is the string that we're going to use that will tell our data client the ado.net SQL client it'll tell it where to look for our data so what we're going to do is we're going to copy that and I'll paste that into notepad make sure you do the same so that you have it and that's going to be very handy for the next step of our of our development here where we are actually going to connect to our database and we'll use that string in the application and so we want to have that ready to go so there's our server name we can click on that server name and it'll take us to the server which can hold many databases and you can see there's a whole bunch of options down the left hand side here and if we click on networking just in case you guys have other places that you do work or if you're working at home um and your IP changes you'll need to put in a new firewall rule to get into that server so say it changed and I'm going to put my own web address in here as a as a rule so say you're you're you know your IP address for your home internet change because you know the power went on and off and you don't have a static IP or something like that you can create a new rule with the new IP address and that will allow that single IP address to connect to your data server and so everybody else on the Internet is blocked except for you know your few addresses that you have and that makes it much much more secure since basically nobody else can see that database and so now you can do is you can start your SQL Server management Studio like I did here and you can type in the name of of your of your server and then in this case it's tow Dash operations dot database.windows.net yours will be whatever you decide it to be and then you you'll choose that SQL Server authentication or Azure you know if you're using Azure uh active directory you can use that too but in this case I'm just going to put in that password that username and password and that's going to open the database in SQL Server management Studio as you can see here and at the top left there that's our object Explorer and you can see that the server has a little blue has a little blue database you know icon beside it and that means that that server is in azure and so I can open up our our database here it doesn't have any tables in it and so we're gonna just stuff some very crude data into a table here just to give you an idea of what it looks like to create a table and then put some data in or you might have in your case maybe you already have a database that is in Azure and you want your application to connect to it in that case you can probably skip this step but we'll go ahead and create a table and then put a little bit of data into it so as you can see I clicked on the new query button in the toolbar and that gave me a a new worksheet and in the worksheet I'm going to type in a ddl statement which is for creating creating tables and things like that and so you can see that in the left hand this is very important in the left hand [Music] navigation menu where we have toe Dash operation you can see that it is selected so at the time that your new worksheet gets created it looks in that it looks there for where you want this to work because you can have 5 or 10 or 100 you know databases in that list there and if you click the new query um when you're selecting a different database it will make it and get it ready to execute on that other database so make sure you always have the right one selected in the left hand left hand side there the object Explorer before you start you know creating creating your script that's just something to watch out for and so here I'm going to create a simple table I'm making an auto number at the top for those of you who are access developers toe ID that structure with an integer not null identity Means Auto number and then primary key clustered basically means that it's the integer stored in ascending order and it is all stored together and you can see I'm adding some some simple Fields here just you know called in by driver vehicle tow address we don't I don't want to get too uh crazy on this table here because the the purpose of this is just to show how to connect to it and today what we're going to do is we are going to put our own data in here in a moment and then we are going to make our application when we deploy it it's going to use a connection to this database look at this table and then provide a list very simple list at the end of our web page that you saw earlier when we you know pressed F5 to start the application and there we go we've got our table I'll actually put a Max in here so that a Max gives a huge amount of of characters that you can have in there and oh that there's my syntax okay so there you can see um I've created a table script but I have not executed it yet so it has not created the table just yet and not until we actually execute it but I'm going to add a few more statements to insert data into our table after the table is created and so we'll do an insert statement for that this is very similar to your append query if you're coming from the access world so now what we're going to do is we're just going to insert into our new table some values now you can do this step that you see here you can actually do it manually like you do in an access environment you can right click on that database there and in the navigation menu in the left and you can go new table or right click on tables I'll check that in a minute here but you can basically right click go new table and you can do it visually like you do in Microsoft Access and you can also insert data manually if you right click on the table once it is created you can right click on the table and go edit top 200 rows and then you can punch in into the data sheet I'm just doing it this way today so you can all see exactly how this works when once you really start working with this kind of data so you can create an insert statement we'll have one set of values go in and then we can copy and paste those for subsequent rows if we want to do five rows or ten rows or whatever we can certainly do that and so here we go we've got this guy Jim Duncan he's driver tow driver will be Randy you know the Honda Civic anywhere one two three anywhere Street off Burns Highway and the guy's engine oh I have to double uh double apostrophe that one to put the apostrophe into the insert there we go the guy's engine just shut down there we go and so that would be one entry and we can actually copy and paste that whole row and do a multiple insert so we'll do a few of these We'll add a couple and there we go I exped that up for you and uh okay so those are are our toe pickups for the moment um and you can see we've got our our script there so I'm going to go on to the toolbar and click execute and you can see uh it did return five rows affected now I can right click and refresh my tables listing because it doesn't automatically get refreshed and now you can see there is a table called Toe underscore jobs and if I right click select top 1000 you can see there we go boom we've got data in our database and that's what we want so this is our Azure SQL database for our toe operations application and we have data we are good to go and so now we have our database and you can keep this script if you like you can save it you can do control s in my case I will just delete it for now I think we have our data that's fine and now you can see that our server and our database and connectivity is all set up we know how to create a new access into our database if we need it and we can go ahead and minimize that screen now that was our Azure portal and now what we can do is we can go into our application and we can try connecting to our data and so in order to do that what we'll do is we're going to go down to our web.config that you see way down here um now this holds all the configuration information for your application so say say you deployed this in five different sites uh well you would put your configurations for each of those different sites in this file so that you know settings and things you could deploy it without changing your code all you need to do is change this one little file and it will you know change it for each of your deployments now we're going to add a section here right after right at the end just before the very end of the of the file here you can add a connection string section and you'll see that it pops up in the intellisense and then inside of the connection strings we'll do an add entry here and we'll call it toe underscore CNN which is the that'll be the name of our toe connection for our toe database there and then we'll paste in the string that we put into a notepad earlier you'll you'll remember that I mentioned that you needed to save this string when we created the database you can go back and check that out if you need to I'm going to paste in our our connection string here now this is fairly secure but there is a much more secure way of doing this which uses key Vault and we'll we will take a look at that in another episode but for today we're going to put our connection string into the configuration file and that will do it for our configuration file so we just needed to put in our password the the string was nicely formatted already for us to paste in there and so now we've got this uh we've got our connection string in our application we've got a very simple application that we've built and the next step is going to start to look at the code now now you can do it by going to the view menu just like I showed you there and you can go view code or you can hit the F7 on your keyboard when you're looking at one of those form Pages remember I said on the right hand side there you know about contact default those are all forms and so if you want to see the code for those you hit F7 you can go in you can see events just like you see for your other you know environments so if you have a button button called CMD you know go next then you'll have you might have a procedure in there to do a couple things for navigation or whatever and so here we are we're in our um we're in our our sheet here I'm going to remove that text for for you know the learn more and I'll just call it refresh for now we're not going to do anything with this today but I just wanted to show you that you can change these these buttons here and you can you know you can put in your own values you can you can delete them if you if you don't need them for your application so what I'm going to do with that button is I'm just gonna make it point back to ourself here on default.asp aspx so that you know it'll do a refresh each time you click that button and then what I'm going to do is I'm just going to plonk on our screen here a grid View and you do that by doing the opening angle bracket and then grid view you'll specify the ID that must be unique so we'll call it grid view main GVW Main and then you can put a run at equal server that's almost on on all of your controls we'll have that and then you don't need to put any more you can really customize the grid view it's kind of like datasheet view for those of you coming from Microsoft Access and you can have alternating you know back colors on each line and things like that and you can really customize it to have buttons inside and all kinds of things but for today all we're going to do is load a very simple list into that grid view it's probably just going to show up at the bottom of the page because the CIA SS that's the style sheets might not allow me to put it into the into the what you call the Jumbotron at the top there but we'll go ahead and do that so here we go just like in Microsoft Access we have a page load or we have a form load event this is very similar to what you guys are used to and now you can see we can start to do some coding so there's some things we need in order in order to do our data connection and I'm going to show you those right now we're going to take a look at some of those so I've got the first thing I'm going to do is I'm going to I'm going to get that connection string from the configuration file now remember I that the configuration file is is handled differently than the rest of the files in the solution it has a bit of extra kind of like security and stuff on it and so we're gonna get that by saying strcnn is equal to configuration manager connection strings and then the name of our string and then the connection string and that that'll load that variable with that with that value and then the next thing we'll do is we'll we're going to create a connection and we'll create a connection using the SQL Connection in the SQL client so this is like the native connector for all of the Microsoft stuff which is really nice to use especially if you're using Azure SQL so we can we can get data very easily and and then we'll create a variable for our data set because we're going to load some data in our application you know at runtime we're going to load up some data from the database and then we can use it we can put it in a list or we can do whatever and then we'll create a SQL string and we'll just say select star from our toe jobs and and order by the name I guess you know called in whoever called it in We'll order by that so you might change it for your application depending on what you do this is sort of the first step all we're doing today is all we want to do is get a connection get the data display it in our in our application on the internet so we're going to deploy the the application as well and show all of this actually working um so so we'll we'll create a data adapter next and the data adapter allows us to do different things and one of them is that we can fill a data table from you know over with a connection and a an SQL string so now what we can do is we can go uh you know new SQL client SQL data adapter there's our SQL string and then the connection to execute it over and then we can say dpt.fill and we'll we'll fill our data set and then this is an optional argument you can put in the name of the table because you're you might have a data set you might have like 20 different tables you load up in your application and you don't want to make 20 different data sets just make 20 tables in a data set it's much more efficient and there you go you can fill that and so now we've got the data from uh from our toe jobs table in in the data set and now we can look at a data table so we'll we'll create a data table variable and we can load that data table variable with that ttmp toe jobs temporary table we put in there and that's going to load it into a variable so now we can do things we've got now we've got a table and we can do things like load up our grid view that we created and the grid view is what we created on the other screen it's sort of like the data sheet and right now it's just an empty data sheet it doesn't do anything in fact it doesn't even show up when you launch the application and so what we'll do is we'll say grid view main dot data source is equal to uh that the data table that we made TBL data and then we'll say grid view main data bind and that's going to bind that table that grid view to the table um and so now it's bound as the page is loading and we can go ahead we'll close our connection um we'll we'll um uh will dispose of our objects I almost did an access uh set equal to nothing there for from Microsoft Access we'll do our TBL data.dispose you know each of the objects that can be disposed will it's just nice to do the cleanup you can also do another programming structure which I will show you guys called using where it'll automatically do a lot of the stuff for you and also we will take a look at using a try catch block for uh for our um our stuff here but today what we want to do is I just want to show you how the code Works in in order here and if we get an error it'll tell us in the IDE here and so that's all the code we're going to do today we're going to we're going to try that out and I'll go back to our source page here and of our form and I'll hit F5 or I can just click on here on the IIs Express and that's going to launch my browser on my local machine here and there we go there is our toe operations page and looks like our table was successful and it was put at the end of the page I can explain that why that happened a bit later and looks like we're ready to go so we have our local coding working great let's go ahead and deploy it okay so we have an application that is good to go in our visual studio and we'll go back to our Azure portal that we opened up before and now we're gonna switch from the SQL databases which we used before and now we're going to click on the app Services which is going to be where our app is going to live and we can click on create and we get a screen just like we saw before with the with the SQL database but now we have that a resource Group toe operations in there and so we're gonna put this application into the same Resource Group so that it used all of the resources are are similar used in the same group and you can watch your costs and things all together in one group as well and so you can see that it this will be toe Dash operations.azurewebsites.net we're going to use code and then we've got to select our runtime stack and that's going to be asp.net version 4.8 and I'm going to keep the defaults here and you can see it created a new pricing plan now now you can the application service plan that you choose obviously you need one that works for you they will give you a pretty good one to start but it might cost a bit so make sure you go and check out the options as you create this and so I'll just hit next I'm going to enable Public Access and leave the default for the injection and then go to next for the application insights now those can be very handy in this case since we're just doing a demo I will turn that off and then we have our lovely tags at the end that we used for the other stuff and we'll use the same one for this for this application so that we can group those together see them together and so this application is on a standard SKU this would be pretty well performing you can go and change the uh the deployment size and everything this is a pretty good one and so we'll keep the defaults for that and I'll just say create for now and uh keep in mind if if your application is not working or like it's not not running and your database is not running because it will go to sleep um that it does not consume resources or cost you uh generally speaking so make sure you check out your deployments get enough horsepower for what you need and and that'll work for you so I clicked finally the create button there and it took a few moments and then here we go I've got my deployment succeeded for my toe operations application that's running inside the the tow operations Resource Group and now I can click on that go to Resource just like we did before except now I'm looking at the web app for toe operations you see in the top left there instead of the database and so there's the URL I can actually just click on it hmm and it has nothing in there yet so there's this default page that comes up if I click on tool operations dot azurewebsites.net so you can see there's nothing really in there yet we've created the application and but nothing really is happening so far and uh we'll definitely add some authentication to this and and we'll add an identity provider I'll just use the Microsoft one for now so that's going to allow anybody with a Microsoft login whether it's Hotmail or whatever or or live.com you'll be able to log in to this application and the application will then know who's using the application and then you'll have an opportunity to oh if it's not somebody that should use that you can punt them out or whatever and also you can you can set more advanced Security on the application so so we're just going to use use that one we'll say add and we are going to require users to um to authenticate when they use the application so that's that second line there under authentication settings and that will get us going at least we'll know who's going in to use the application at this point and we can add some uh some you know functionality later to either punt users or not allow them at all so what we can do is now is we can go to our our Azure our visual studio and we'll we'll do that build and then publish and then we'll we'll go through the prompts here we're going to choose Azure app service because that's what we're using and you should see your login here at the top right and it should give you access to the [Music] the app service that you are looking for and so here I have our toe operations app service I'm going to click on that toe operations and I'll click finish and that will get my profile ready you can also do this using there are other methods you can use the the secret that was generated in the application that's another way of doing it but for today this is what we see that's going to be our published profile so that is now created and when we click close now you'll see in the top left there by the blue cloud our toe operation web deploy is now available and we're going to use that to publish and you can see it has a lot of the stuff pre-loaded already in here from Azure because it knows who you are so that login is is important I'll hit publish on there and let's just let this go through the motions sometimes the first time deploying your application will be slow lower than subsequent Publications when you do updates to it and things like that so you can update your application using the same the same steps as what you saw here you'll just hit the publish button and you can see this one said successful and that's great and then it automatically launched the browser here I'm not sure if this is going to pick it up but we'll let we'll let the browser start now you can see the address is different now we've got tow operations dot azurewebsites.net so we are not running this on our local computer anymore we've just deployed it and it's sort of waking up waking up on the server there and uh you should get a login screen like this and you'll click ok now it is important this is actually a good one make sure you consent on behalf of your organization uh it it only happens on the very first time that the application gets logged into that will allow everybody in that domain to use that to use that application and that message I believe only appears for the administrators of of a particular um of a particular domain so so if it's just you know live users or Hotmail users you don't really have to worry about that but that may appear for your corporate users if you're making something for a corporation so there we go we've got our web page came up to operation dot azurewebsites.net it's got our title that we put in there our customization to our application that is our URL and at the bottom you can see we have connected to our database and we've pulled out a list we are going to go to town on this in the next few episodes of this we're going to customize this entire application we're going to make that table work a lot better we're going to add some functionality for editing and updating and a whole bunch of other stuff and that's how you can get started with web forms and Visual Basic for your applications need more resources for your project make sure to check out the additional links in the description foreign [Music]
Info
Channel: Sean MacKenzie Data Engineering
Views: 9,652
Rating: undefined out of 5
Keywords: visual basic, vb webforms, visual basic webforms, vb dot net, webforms application, visual basic sql, azure sql application, webforms default application, getting started with webforms, asp.net web forms, web development, web forms, web application, web forms html, web forms aspx, visual studio, dotnet web forms, visual studio web forms, visual studio asp.net web application, sean mackenzie data engineering
Id: -oYNi6m6bBQ
Channel Id: undefined
Length: 52min 11sec (3131 seconds)
Published: Tue Feb 14 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.