목록전체보기 (71)
HaPpY hApPy
Extension 프로그램인 Bundling & Minifying 설치 Tools -> Extension and Update -> Bundler & Minifier 검색 설치 Extension 설치 후 visual studio 재 실행하고, 원하는 파일 선택 -> Bundler & Minifier -> Bundle and Minify Files 선택 대충 이름 정하고 저장하면 아래와 같이 파일이름.min.css 파일 생성됨. 만약 여기서 위 이미지 속 First.css 혹은 Second.css 파일을 변경해서 저장하면 자동으로 bundle.css, bundle.min.css도 변경됨..구웃! 그 다음 이 파일들을 실행할때 wwwroot 폴더에서 clients 위치로 복사해서 옮겨주기 Asp.Net Cor..
Parallel code안에서 Impersonation 작동하지 않으니 아래와같이 사용해야함. IntPtr token = WindowsIdentity.GetCurrent().Token; Parallel.ForEach(names, (name, state) => { using (WindowsIdentity.Impersonate(token)) { //작업 코드 } }
1.Fix: ASP.NET Web Deploy ‘ERROR COULD NOT CONNECT TO REMOTESVC’ errorhttp://www.benday.com/2013/07/12/fix-error_could_not_connect_to_remotesvc-error-using-visual-studio-2012-web-deploy/ 2.Error: "The configuration section 'system.webServer/management/delegation' cannot be read because it is missing schema [closed]http://stackoverflow.com/questions/32004797/error-the-configuration-section-system..
1. 다른 컴퓨터에서 개발중인 Visual studio web 사이트에 접속하는방법! 솔루션 폴더아래 /.vs/config 폴더에 있는 applicationhost.config 열어서 아래와 같이 되어있는 부분에 localhost 대신 ip를 넣어주는 코드를 한줄 더 넣어주면됨.
아래 코드는 최초 페이지가 로드 됐을때 한번만 클릭 이벤트가 발생하고 Partial view가 다시 그려진 이후 이벤트가 발생안함. $('.likeabutton').click(function () { alert($(this)[0].text); var categoryName = $(this)[0].text; $.post('@Url.Action("category","Forum"', { categoryName: $(this)[0].text, page: "2" }).always(function () { $('.postlist').load("/Mpa/Forum/Category/" + categoryName+ "/page/1"); });}); 아래 처럼 하면 Partial view가 다시 그려진 이후에도 계속 이벤..
만약 아래와 같은 에러가 뜨면Unable to generate the model because of the following exception: 'System.Data.StrongTypingException: The value for column 'IsPrimaryKey' in table '무슨무슨테이블' is DBNull. ---> System.InvalidCastException: Mysql comment 창 열고 아래 코드 실행1. Open Services (services.msc) and restart MySQL57 service. 2. Execute the following commands in MySQL. use ; set global optimizer_switch='derived_merge=..
First of all, we don't even need to install the mysql-installer-community-5.7.3.0-m13.msi.Install the latest mysql-visualstudio-pluginInstall the latest mysql-connector-netNew C# .Net 4.5 Framework WinForms (for 4.0 it should work based on Does Entity Framework 6 support .NET 4.0? )Install 4 Nuget Packages (follow sequence, if you install Mysql.Data.Entities before EntityFramework, it will resol..
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion 아래 DisableCacheViewer 이라고 DWORD 타입으로 만든후 value 1을 주면 c:windows\assembly 안에 GAC에 등록된 Cache들이 폴더형태로 나옴(그 폴더안에 등록된 dll이 있음)
인터넷 검색하다가 바로 설치본 찾음. 저 처럼 고생하시는분 없기를,,
Castle Windsor 유익한 사이트BitterCoder's Wiki Container TutorialsDimeCast's Setting up Castle Windsor for Auto RegistrationInversion of Control and Dependency Injection with Castle Windsor Containerhttp://www.castleproject.org/community/blogs.aspxhttp://mikehadlow.blogspot.com/3가지 Timer in c# 비교 (System.Timers.Timer, System.Threading.Timer, System.Windows.Forms.Timer)http://msdn.microsoft.com/en-us/m..