且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

用于asp.net核心mvc azure web应用程序的Wordpress登陆页面

更新时间:2023-02-14 23:42:00

嗨Reza,


wordpress网站和ASP.NET核心应用程序托管在同一台服务器上(Windows / Linux)?


您可以创建一个包含iframe的页面,其源代码指向ASP.NET Core页面。 



< iframe src = &QUOT; HTTP:// aspnetcoreapp / loginpage&QUOT;宽度= QUOT; XX&QUOT;高度= QUOT; XX&QUOT;&GT;&LT; / iframe中&GT; 跨度>


Is it possible to have my landing page (root url www.xxx.com) be a wordpress site hosted in azure and also have a azure asp.net core mvc web app live together? the asp.net website would start from a login page that I can redirect from the wp landing page (www.xxx.com/login).

If possible, can someone direct me on how to accomplish this? I've done some searching around, but haven't found anything concrete.


You are so wise...like a miniature budha covered in fur. -Anchorman

Hi Reza,

Are the wordpress site and ASP.NET core app hosted on same server (Windows/Linux)?

You can create a page that has an iframe and the source of that points out to the ASP.NET Core page. 

Example:

<iframe src="http://aspnetcoreapp/loginpage" width="xx" height="xx"></iframe>