net-??????
???????????? ???????[ 2015/12/15 11:32:03 ] ???????????????????
????6??????????????????????
????public ActionResult Index()
????{
????//1.??????????????
????var Ou_UserInfoBLL = DI.SpringHelper.GetObject<IOu_UserInfoBLL>("Ou_UserInfo");
????var userInfo= Ou_UserInfoBLL.Login(""?? "");
????//2.???????
????return View();
????}
?????????????????DI.SpringHelper.GetObject<IOu_UserInfoBLL>("Ou_UserInfo");????????????????????????????????????????????????????Щ??????????
????7??IBLL????????T4???IBLLSession.tt????????IDAL?е????IDALSession????????????????????
????<#@ template language="C#" debug="false" hostspecific="true"#>
????<#@ include file="EF.Utility.CS.ttinclude"#><#@ output extension=".cs"#>
????<#
????CodeGenerationTools code = new CodeGenerationTools(this);
????MetadataLoader loader = new MetadataLoader(this);
????CodeRegion region = new CodeRegion(this?? 1);
????MetadataTools ef = new MetadataTools(this);
????string inputFile = @"..MODELOA.edmx";
????EdmItemCollection ItemCollection = loader.CreateEdmItemCollection(inputFile);
????string namespaceName = code.VsNamespaceSuggestion();
????EntityFrameworkTemplateFileManager fileManager = EntityFrameworkTemplateFileManager.Create(this);
????#>
????using System;
????using System.Collections.Generic;
????using System.Linq;
????using System.Text;
????namespace IBLL
????{
????public partial interface IBLLSession
????{
????<#
????// Emit Entity Types
????foreach (EntityType entity in ItemCollection.GetItems<EntityType>().OrderBy(e => e.Name))
????{#>
????I<#=entity.Name#>BLL I<#=entity.Name#>BLL{get;set;}
????<#}#>
????}
????}
????8??BLL????????T4???BLLSession.tt????????DAL?е????DALSession????????????????????
????<#@ template language="C#" debug="false" hostspecific="true"#>
????<#@ include file="EF.Utility.CS.ttinclude"#><#@ output extension=".cs"#>
????<#
????CodeGenerationTools code = new CodeGenerationTools(this);
????MetadataLoader loader = new MetadataLoader(this);
????CodeRegion region = new CodeRegion(this?? 1);
????MetadataTools ef = new MetadataTools(this);
????string inputFile = @"..MODELOA.edmx";
????EdmItemCollection ItemCollection = loader.CreateEdmItemCollection(inputFile);
????string namespaceName = code.VsNamespaceSuggestion();
????EntityFrameworkTemplateFileManager fileManager = EntityFrameworkTemplateFileManager.Create(this);
????#>
????using System;
????using System.Collections.Generic;
????using System.Linq;
????using System.Text;
????using IBLL;
????namespace BLL
????{
????public partial class BLLSession:IBLLSession
????{
????<#
????int index=0;
????// Emit Entity Types
????foreach (EntityType entity in ItemCollection.GetItems<EntityType>().OrderBy(e => e.Name))
????{
????index++;
????#>
????#region <#=index #> ?????? I<#=entity.Name#>BLL
????I<#=entity.Name#>BLL i<#=entity.Name#>BLL;
????public I<#=entity.Name#>BLL I<#=entity.Name#>BLL{
????get
????{
????if(i<#=entity.Name#>BLL==null)
????i<#=entity.Name#>BLL=new <#=entity.Name#>BLL();
????return i<#=entity.Name#>BLL;
????}
????set
????{
????i<#=entity.Name#>BLL=value;
????}
????}
????#endregion
????<#}#>
????}
????}
????9??UI?????棬?????????Web.Helper??????IBLL??DI?????????????OperateContext.cs
????using DI;
????using IBLL;
????namespace Web.Helper
????{
????public class OperateContext
????{
????public static IBLLSession _IBLLSession = SpringHelper.GetObject<IBLLSession>("BLLSession");
????}
????}
????10??????????????
????using IBLL;
????using Web.Helper;
????public ActionResult Index()
????{
????var userInfo = OperateContext._IBLLSession.IOu_UserInfoBLL.Login(""?? "");
????//2.???????
????return View();
????}
????????????????????????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
?????????????????(java .net ?????).Net?й???????????Asp.net MVC??ζ???????????????????????Trim????Asp.Net WebForm????????????.Net??????????С????asp.net ???????????.Net??????????????????Linux???Jexus?й?Asp.Net Core??ó???asp.net??????????????ASP.NET???????JSON?????????????????? .NET ?? Java ???? IT ???.Net??Ч???????????????ù???ASP.NET MVC???????????Щ?£?.NET???????????????????????.net???????????????Asp.net Core MVC?????Session
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????