在创建新的MVC4项目时需要检查哪些基本内容,如身份验证,会话处理等。 [英] What are basic things need to check at the time of creating new MVC4 project, like Authentication, session handling etc..

查看:80
本文介绍了在创建新的MVC4项目时需要检查哪些基本内容,如身份验证,会话处理等。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我是MVC4的新手。



我创建了新的MVC4项目。

我想在这个应用程序中开发主要的基本功能。

我想获得一些关于以下内容的信息



1.基本需要注意的事项是什么?

2.如何实施认证?

3.如何实施授权?

4.如何在MVC中处理会话?

5.如果我在控制器中设计了一个动作,那么如何避免某个人从另一个应用程序调用该动作?

6. MVC4中有哪些不同的安全问题以及如何处理它们?

7. ASP .Net中的会话处理是否与MVC4会话处理相同?



请帮帮我



提前谢谢................

解决方案

我找到了一个MVC4身份验证链接,它工作正常。



在7天 - 第3天逐步学习MVC(模型视图控制器) [ ^ ]

Hello,

I am new to MVC4.

I have created new MVC4 project.
I wanna to develop main basic things in this application.
I would like to get some information about following things

1. What are basic things to care?
2. How to implement Authentication?
3. How to implement Authorization?
4. How to handle session in MVC?
5. If I designed one action in a controller, then how can I avoid to some one to call that Action from another application?
6. what are different security issues in MVC4 and how to handle them?
7. Is Session handling in ASP .Net same to MVC4 session handling?

Please help me out

Thank you in advance................

解决方案

I have found one link for MVC4 Authentication, it works fine.

Learn MVC (Model View Controller) Step by Step in 7 Days – Day 3[^]


这篇关于在创建新的MVC4项目时需要检查哪些基本内容,如身份验证,会话处理等。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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