Professional Documents
Culture Documents
ade12.Q4.W8 Final
ade12.Q4.W8 Final
ade12.Q4.W8 Final
Net) – Grade 12
Learning Activity Sheets
Quarter 4
Republic Act 8293, section 176 states that: No copyright shall subsist in any work of
the Government of the Philippines. However, prior approval of the government agency or
office wherein the work is created shall be necessary for exploitation of such work for profit.
Such agency or office may, among other things, impose as a condition the payment of
royalties.
Borrowed materials (i.e., songs, stories, poems, pictures, photos, brand names,
trademarks, etc.) included in this activity sheet are owned by their respective copyright
holders. Every effort has been exerted to locate and seek permission to use these materials
from their respective copyright owners. The publisher and authors do not represent nor claim
ownership over them.
Department of Education - Region No. VIII – Schools Division Office of Tacloban City
Materials:
• Computer
• Microsoft Visual Studio (2013 or higher) with VB.Net
,,,.
2. Deploy your application to a test environment that is comparable to the one where it
will be used in production.
Web Apps in Azure App Service is the production environment for these tutorials. An
additional web app established on the Azure Service is the ideal test environment. It
would be built up similarly to a production web app, but it would only be used for
testing.
If we select the web deploy package method, then a .zip package will be created in
our local disk folder. We need to use this package to deploy using the CMD command
prompt, or we can mail this package to the admin team to deploy this .zip package.
We'll go over the steps for deploying or publishing an ASP.Net MVC web
application using Visual Studio's Web Deploy Package option. To publish and deploy
applications, assume that we already created a simple web application called OrderApp.
3 | Q4 W7
1. Right-click on Project name [OrderApp], and a list of options will appear. From that
List select [Publish] as shown below.
2. After selecting the Publish option, a new dialog will pop up with the name Publish
Web, as shown below.
4 | Q4 W7
3. In this dialog, it will first ask you to create a profile. If you have created a profile
already, you can select the profile from the Manage profile. Just click on the
Manage Profile button a new small dialog box of Edit Web Publish Profiles will
appear to see your already created Profile.
4. If you had proper look at the Publish Web dialog box, you would also find the Import
button. After clicking on the Import button below, a dialog will appear in this dialog
you can import from Azure Website or from Publish profile file.
This is the first time that we’ll publish this application; hence we are going to create a
New Profile.
5 | Q4 W7
Creating A New Profile
5. To create a New Profile, select [Select or Import a publish profile] dropdown. After
that a [New Profile] item will appear in the dropdown list select that.
6. After selecting a New Profile, a new dialog box will appear with the name [New
Profile] asking to enter a Profile name.
7. After entering the profile name, click on the OK button. This process will move
forward to the next stage which is Connection setting.
6 | Q4 W7
Connection Setting in Visual Studio
8. Now we will select a way to publish our application. We need to move to the second
step connection and in the Publish method we need to select "Web Deploy Package".
9. After entering the package location, enter the site name [Default Web Site/OrderApp].
10. After entering all the details, click on the Next button to Move Forward to the next
deployment process stage.
7 | Q4 W7
Here we will select 2 File Publish options as shown below:
8 | Q4 W7
14. After completing all database settings you may now click on the OK button.
15. After entering all details related to the destination Connection String click on the Next
button to preview the details of the deployment package.
16. After checking the preview, finally click on the Publish button to start the publishing
process.
9 | Q4 W7
17. After the publishing process is completed, check the folder which you selected to
publish these files into.
10 | Q4 W7
Now Do It!
ACTIVITY
A. TRUE OR FALSE
Directions: Write TRUE if the statement is correct and write FALSE if the statement is
incorrect. Write your answers on the spaces provided before each item.
_______________ 1. The default development web server for web application projects in
Visual Studio 2017 is IIS express.
_______________ 2. There are one-click publish options that are available in Visual Studio
2010 and later versions.
_______________ 3. If choose to publish a web application using the web deploy package
method, then a .rar package will be created in your local disk folder
_______________ 4. If it is your first time to publish a web application, you will be required
to create a new profile.
B. ENUMERATION
Directions: Give what is being asked.
A. List the 2 Configuration Modes that you can choose from when deploying a web
application:
1. _________________________________________________________________
2. _________________________________________________________________
B. Give the 3 File Publish Options that you can choose from when deploying a web
application:
3. _________________________________________________________________
4. _________________________________________________________________
5. _________________________________________________________________
11 | Q4 W7
. Ace It!
ASSESSMENT
Name: ______________________________________________ Date: ________________
SEQUENCING-TYPE TEST:
Directions: Arrange the following steps in packaging and deploying a .Net web application in
correct order by writing the correct step numbers on the spaces provided before each item.
Some of the items have already been answered for you.
_____ After the publishing process is completed, check the folder which you selected to
publish these files into.
__16_ After checking the preview, finally click on the Publish button to start the publishing
process.
_____ After entering all details related to the destination Connection String click on the Next
button to preview the details of the deployment package.
_____ After completing all database settings you may now click on the OK button.
_____ Click the browse button to set the remote Connection string.
_____ Specify which of the File Publish options you want to apply.
__11_ Select a Configuration mode.
_____ After entering all the details, click on the Next button to Move Forward to the next
deployment process stage.
_____ After entering the package location, enter the site name
_____ Select a way to publish our application by selecting Web Deploy Package.
_____ After entering the profile name, click on the OK button. This process will move
forward to the next stage which is Connection setting.
_____ After selecting a New Profile, a new dialog box will appear with the name [New
Profile] asking to enter a Profile name.
_____ To create a New Profile, select [Select or Import a publish profile] dropdown after
selecting a [New Profile] item will appear in the dropdown list select that.
_____ After clicking on the Import button below, a dialog will appear in this dialog you can
import from Azure Website or from Publish profile file.
_____ In this dialog, it will first ask you to create a profile. If you have created a profile
already, you can select the profile from the Manage profile.
_____ After selecting the Publish option, a new dialog will pop up with the name Publish
Web, as shown below.
_____ Right-click on Project name, and a list of options will appear. From that List select
Publish.
12 | Q4 W7
References:
• “Asp.Net MVC Publish with Web Deploy Package - Tutlane.” n.d. Tutorials for Asp.Net MVC, LINQ, C#, SQL Server,
Android, IOS, AngularJS, JOOMLA, JAVA, Perl, Php, MySQL - Tutlane - Tutlane. Accessed June 28, 2021.
https://www.tutlane.com/tutorial/aspnet-mvc/asp-net-mvc-publish-with-web-deploy-package.
• “Packaging .Net Web Applications.” Accessed July 1, 2021. https://help.veracode.com/r/compilation_ASPnet.
• Dykstra, Tom. 2019. “ASP.NET Web Deployment Using Visual Studio: Deploying to Test | Microsoft Docs.” Developer
Tools, Technical Documentation and Coding Examples | Microsoft Docs. January 6, 2019.
https://docs.microsoft.com/en-us/aspnet/web-forms/overview/deployment/visual-studio-web-deployment/deploying-to-
iis.
• Parekh, Jay. 2020. “How to Deploy Website on IIS.” C# Corner - Community of Software and Data Developers. June
9, 2020. https://www.c-sharpcorner.com/UploadFile/cb88b2/steps-to-deploy-website-on-iis/.
13 | Q4 W7