Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > Windows Azure > Windows Azure (Web Sites) and ASP.Net > ตอนที่ 1 : สร้าง Project ASP.Net รันบน Web Sites ง่าย ๆ บน Windows Azure



Clound SSD Virtual Server

ตอนที่ 1 : สร้าง Project ASP.Net รันบน Web Sites ง่าย ๆ บน Windows Azure

ตอนที่ 1 : สร้าง Project ASP.Net รันบน Web Sites ง่าย ๆ บน Windows Azure ใน Service ของ Web Site บน Windows Azure เราสามารถที่จะสร้าง Web Site และรันโปรแกรม Application ที่เขียนด้วย ASP.Net ได้ในทันที โดยสามารถรองรับทั้งการเขียนแบบ ASP Classic และการเขียนแบบ Code Behind และในปัจจุบันสามารถที่จะสร้าง ASP.Net เพื่อทำงานกับฐานข้อมูล SQL Server และ MySQL ได้ในทันที

ในบทความแรกของ ASP.Net บน Web Site ของ Windows Azure เรามาลองสร้าง Web Site แบบง่าย ๆ และก็เขียน Script แบบง่าย ๆ ของ ASP.Net จากนั้นค่อยทำการ Deploy ผ่าน FTP เพื่อทดสอบการทำงานและแสดงผลบน Web Site

ASP.Net Web Site Windows Azure

เริ่มต้นจากการ CREATE A WEB SITE

ASP.Net Web Site Windows Azure

หรือเลือกที่ NEW -> COMPUTE -> WEB SITE -> CUSTOM CREATE

ASP.Net Web Site Windows Azure

กรอก URL ของเว็บไซต์

ASP.Net Web Site Windows Azure

รอซะครู่ก็จะได้เว็บไซต์ที่เราได้สร้างขึ้นมา

ASP.Net Web Site Windows Azure

คลิกเข้ามามาในหน้า Dashboard ซั่งจะเป็นรายละเอียดต่าง ๆ ของ Web Site และเราจะเห็นมีเมนู Download publish profile








(สำหรับตัวนี้ใช้ Deploy ในกรณีที่ใช้กับ Visual Studio จะได้พูดถึงในหัวข้อถัดไป)

ASP.Net Web Site Windows Azure

คลิกที่เมนู CONFIGURE สามารถเลือกเลือก Version ของ .NET Framework ได้ ในปัจจุบันรองรอบ V3.5 และ V4.5

ASP.Net Web Site Windows Azure

กลับมายังหน้า Dashboard จะมีการรายเมนูต่าง ๆ เช่น Reset deployment credentials (ใช้สำหรับ Reset password สำหรับ FTP และ Git) และข้อมูลอื่น ๆ เกี่ยวกับการ FTP , Git

ASP.Net Web Site Windows Azure

ในกรณีกำหนดหรือรีเซ็ต รหัสผ่านสำหรับ FTP และ Git

อ่านเพิ่มเติม


ทดสอบการสร้าง ASP.Net แบบง่าย ๆ

default.aspx
<%@ Page Language="VB" %>
<script runat="server">
    Sub Page_Load(sender As Object, e As EventArgs)				
	
		Me.lblText.Text = "Hello ASP.NET Web Site on Windows Azure"

	End Sub
</script>
<html>
<head>
    <title>ThaiCreate.Com</title>
</head>
<body>
	<form id="form1" runat="server">
		<asp:Label id="lblText" runat="server"></asp:Label>
	</form>
</body>
</html>


ASP.Net Web Site Windows Azure

จากนั้น Publish ขึ้นไปบน Web Site ด้วย FTP

ASP.Net Web Site Windows Azure

ทดสอบการรันแสดงผลบน URL ของ Web Site ก็จะได้ผลดังรูป








อ่านเพิ่มเติม


   
Share


ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท


ลองใช้ค้นหาข้อมูล


   


Bookmark.   
       
  By : ThaiCreate.Com Team (บทความเป็นลิขสิทธิ์ของเว็บไทยครีเอทห้ามนำเผยแพร่ ณ เว็บไซต์อื่น ๆ)
  Score Rating :  
  Create/Update Date : 2013-03-25 10:03:45 / 2017-03-24 10:23:38
  Download : No files
 Sponsored Links / Related

 
ตอนที่ 2 : ASP.Net ติดต่อกับฐานข้อมูล SQL Azure/SQL Database บน Azure
Rating :

 
ตอนที่ 3 : ASP.Net เพื่อติดต่อกับฐานข้อมูล MySQL Database บน Azure
Rating :

 
ตอนที่ 4 : จัดการ ASP.Net Web Site บน Windows Azure ด้วย Web Matrix
Rating :

 
ตอนที่ 5 : ASP.Net บน Visual Studio และการ Deploy ผ่าน Visual Studio
Rating :

 
ตอนที่ 6 : ติดตั้ง Orchard CMS (ASP.Net MVC) จาก Gallery ของ Web Site
Rating :

 
ตอนที่ 7 : แหล่งความรู้การใช้งาน .Net Framework บน Windows Azure
Rating :


ThaiCreate.Com Forum


Comunity Forum Free Web Script
Jobs Freelance Free Uploads
Free Web Hosting Free Tools

สอน PHP ผ่าน Youtube ฟรี
สอน Android การเขียนโปรแกรม Android
สอน Windows Phone การเขียนโปรแกรม Windows Phone 7 และ 8
สอน iOS การเขียนโปรแกรม iPhone, iPad
สอน Java การเขียนโปรแกรม ภาษา Java
สอน Java GUI การเขียนโปรแกรม ภาษา Java GUI
สอน JSP การเขียนโปรแกรม ภาษา Java
สอน jQuery การเขียนโปรแกรม ภาษา jQuery
สอน .Net การเขียนโปรแกรม ภาษา .Net
Free Tutorial
สอน Google Maps Api
สอน Windows Service
สอน Entity Framework
สอน Android
สอน Java เขียน Java
Java GUI Swing
สอน JSP (Web App)
iOS (iPhone,iPad)
Windows Phone
Windows Azure
Windows Store
Laravel Framework
Yii PHP Framework
สอน jQuery
สอน jQuery กับ Ajax
สอน PHP OOP (Vdo)
Ajax Tutorials
SQL Tutorials
สอน SQL (Part 2)
JavaScript Tutorial
Javascript Tips
VBScript Tutorial
VBScript Validation
Microsoft Access
MySQL Tutorials
-- Stored Procedure
MariaDB Database
SQL Server Tutorial
SQL Server 2005
SQL Server 2008
SQL Server 2012
-- Stored Procedure
Oracle Database
-- Stored Procedure
SVN (Subversion)
แนวทางการทำ SEO
ปรับแต่งเว็บให้โหลดเร็ว


Hit Link
   







Load balance : Server 02
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่