关于单页应用程序的一些疑问。任何人都可以清楚。 [英] Some doubts about Single Page Application. Can anyone clear that.

查看:84
本文介绍了关于单页应用程序的一些疑问。任何人都可以清楚。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SPA应用程序如何运作?

1.我可以使用asp.net创建SPA吗?

2.对于以下情况,我可以使用SPA

一个主页的应用程序。当用户点击登录重定向到用户页面时。



我可以使用SPA进行这类应用吗?在上面的场景中,我们有两个页面HOME和USER Page,那么如何使用SPA?

我认为SPA意味着单页面应用程序,因此它只有一个页面。所以如果有多个页面在那里,如何使用SPA?

How a SPA application works ?
1. Can i create SPA using asp.net ?
2.For below scenario can i use SPA
Application with one Home page. When user clicks on Login redirect to User page.

Can i do these kind of application using SPA? In above scenario we have two pages HOME and USER Page, so how to do this using SPA ?
I think SPA means single page application so that it will have only one page.So if more than one page is there, how to use SPA ?

推荐答案

1 [ ^ ]



2您可以实现该功能,但不会有页面重定向。如果用户未经过身份验证,您会在页面上看到登录组件,如果他们通过身份验证,您将在页面上看到正常的站点组件。
1 Yes[^]

2 You can achieve that functionality, but there would be no page redirection. If the user is not authenticated you'd see a login component on the page, and if they are authenticated you'll see your normal site components on the page.


这篇关于关于单页应用程序的一些疑问。任何人都可以清楚。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆