Fragmented records of Asp.net knowledge and experience,
1. webRestrictions on the size of files uploaded on the front-end page
1.1 configure the size limit of the uploaded files through Web. Config (this applies to site security issues and is
A preliminary understanding of Entity Framework and entityframework
Source: http://www.cnblogs.com/Wayou/archive/2012/09/20/EF_CodeFirst.html
Entity FrameworkThe full name is ADO. NET Entity Framework, which is an Object/Relational Mapping
Original: some small Tips of Enum in C sharp, sharpenum
(1) Why use Enum?
♥Enums enumeration is a value type. Data is directly stored in the stack, instead of being stored using reference and real data isolation.Enum student {a, B, c, d, e}. enum
Implement refreshing pagination with Ajax and refreshing pagination with ajaxSource: Beijing. • Principles:
(1) converting data on the page into JSON data through JS (JavaScript Object Notation is a lightweight data exchange format)
1
(2) upload
Summary of mvc, mvp, and mvvm usage relationships, mvcmvvm
MVC
The full name of MVC is Model View Controller, short for model-view-controller. It is a Model of software design, organize Code by means of separation of business logic, data, and
The windows of WPF and wpfwindows of uwp are copied.
When porting WPF software to uwp, Windows used as the dialog box have multiple processing options. I personally think the most convenient thing is to use ContentDialog to simulate a Window.
For
MVC Learning Series -- ActionResult extension, mvcactionresult
First, MVC is highly scalable.
I started with the extension of ActionResult, because we know that Microsoft ActionResult and its subclass cannot satisfy all returned values.
For example,
MVC Learning Series-HtmlHelper extension and mvchtmlhelper Extension
Microsoft comes with many HtmlHelper:
ActionLink-link to the operation method.BeginForm-mark the beginning of a form and link it to the operation method for rendering the
JQuery dynamically sets the style List item and jqueryitem
Some time ago, Insus. NET had a function to modify the current view menu highlight http://www.cnblogs.com/insus/p/5287093.html
Today, Insus. NET wants to use another method to implement it,
Asp.net signalR topic-Article 4 simulate Hub operations in RPC mode, signalrrpc
In previous articles, we used persistent connections. However, using persistent connections is inconvenient to use in the form of simulated socket. For example, there is
Introduction to WCF 1--brief introduction to wcfWhat is WCF?
Windows Communication Foundation (WCF) is a series of application frameworks developed by Microsoft to support data Communication. It can be translated as a Windows Communication
Use Lambda expressions to quickly convert object models to DTO and lambdadto
In a project, the model object created when code first is used cannot be directly used for data transmission. You need to create a new Dto object as needed.
Why do we need
ASP. NET obtains the original Session from the Session C # class in the underlying class library,
To obtain a Session in the class library, you must add references first.
Get Session
Copy codeThe Code is as follows:String user = (string)
Auto Mapper04 (configuration in MVC), mapper04mvc
Learn how to configure AutoMapper In the MVC project.
I. First, reference the DLL file of AutoMapper In the MVC project, and then create an interface. here we need to define two methods. The methods
Git Study Notes (2)-create a repository and git Study Notes1. Git Introduction 1. What is Git?
Git is a distributed version control system.2. What are the characteristics of Git?
(1) Git is a distributed SCM and SVN is centralized.
(2) Git stores
Webservice calling java returns null, webservicenull
When you try invoke a Java/Axis Web Service from a proxy class generated by Visual Studio 2005 or Visual Studio 2008 you often crash against the 'return null' issue.
The web service seems to get
UWP pop-up box screen adaptation problem, uwp pop-up screen adaptation problem
In the message prompt box (2) in UWP last time, we talked about the problem that the pop-up box is blocked on the mobile phone in the virtual navigation bar. Today we are
Asp. netmvc5
Environment: VS2013 + MVC5 + IIS EXPRESS
Problem: If you migrate from Asp.net Web to MVC, you may encounter a needMake the original link (such as http: // localhost: 12345/old/library.html) accessible, and locate the original link to
MVC html. actionlink, mvchtml. actionlinkHtml. ActionLink
Description of ActionLink method parameters in the LinkExtensions class:
In simple words, this is the way you click.
Parameter type description
Text displayed for the link generated by
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service