Asp.Net Mvc 4 Internet应用程序使用SimpleMembership ..当您在Visual Studio 2013 Preview上创建新的Mvc项目时,我认为Mvc 5使用新的..你对此有所了解吗?
SimpleMembership;

我不知道MVC 5名称的会员资格;
asp.net-mvc membership-provider visual-studio-2013 asp.net-mvc-5 asp.net-identity
我的所有项目的页面都需要身份验证..通常我不会[ValidateAntiForgeryToken] and @Html.AntiForgeryToken()在我的控制器和视图上使用..只有登录页面有它..
[ValidateAntiForgeryToken] and @Html.AntiForgeryToken()?我的web.config就像这样;
<authorization>
<deny users="?" />
</authorization>
<authentication mode="Forms">
<forms loginUrl="~/User/Login" timeout="30" cookieless="UseDeviceProfile" name="AbosSMSP" />
</authentication>
Run Code Online (Sandbox Code Playgroud)
我的错误是这样的;

如果我绘制折线图没有问题,但我想在直方图上显示它.. ( https://developers.google.com/chart/interactive/docs/gallery/histogram )
对于折线图;
var chart = new google.visualization.LineChart(document.querySelector('#chart_div'));
Run Code Online (Sandbox Code Playgroud)
对于直方图;
var chart = new google.visualization.Histogram(document.querySelector('#chart_div'));
Run Code Online (Sandbox Code Playgroud)
其他代码;
function drawChart () {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Name');
data.addColumn({type: 'string', role: 'annotation'});
data.addColumn('number', 'Value');
data.addRows([
['Foo', null, 4],
['Bar', null, 3],
['Baz', null, 7],
['Bat', null, 9],
['Cad', 'Vertical line here', 9],
['Qud', null, 2],
['Piz', null, 6]
]);
var chart = new google.visualization.Histogram(document.querySelector('#chart_div'));
chart.draw(data, {
height: 300,
width: 400,
annotation: {
// index here is the index of the …Run Code Online (Sandbox Code Playgroud)