.NET
-
IIS HTTPS 세팅하기 및 C# 사설 SSL 인증서 호출 사용하기 OPENSSL 사용하기.NET/C# Basic 2023. 3. 14. 14:09
1. OPEN SSL 다운로드 Win32/Win64 OpenSSL Installer for Windows - Shining Light Productions (slproweb.com) Win32/Win64 OpenSSL Installer for Windows - Shining Light Productions Minimum system requirements: Windows XP or later 32MB RAM 200MHz CPU 30MB hard drive space Recommended system requirements: Windows XP or later 128MB RAM 500MHz CPU 300MB hard drive space September 9, 2021 - OpenSSL 3.0 is ava..
-
-
C# CallerMemberNameAttribute Class 소개.NET/C# Basic 2016. 2. 29. 15:56
https://msdn.microsoft.com/en-us/library/system.runtime.compilerservices.callermembernameattribute(v=vs.110).aspx Available since 4.5 public void DoProcessing() { TraceMessage("Something happened."); } public void TraceMessage(string message, [System.Runtime.CompilerServices.CallerMemberName] string memberName = "", [System.Runtime.CompilerServices.CallerFilePath] string sourceFilePath = "", [Sy..
-
WebBrowser Control에 대한 익스플로러 버전 설정.NET 2016. 2. 22. 15:08
닷넷 WebBrowser Control에 대한 익스플로러 버전 설정 .Net Control을 사용하는 프로세스명과 버전을 명시하면 된다. 아래 레지스트리 형식으로 세팅하면된다. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION]"HIS.exe"=dword:00002af9 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_..
-
.net native compiler.NET/.Net Native Compiler 2015. 5. 28. 15:31
나 같이 C# 으로 먹고사는 사람은 네이티브컴파일러 소식이 반갑다 https://msdn.microsoft.com/ko-kr/library/dn584397%28v=vs.110%29.aspxhttps://msdn.microsoft.com/ko-kr/vstudio/dotnetnativehttp://jacking.tistory.com/1295 아래는 네이티브 컴파일에 대한 FAQhttps://msdn.microsoft.com/ko-kr/vstudio/dn642499.aspxMicrosoft .NET 네이티브 FAQF# 또는 VB, 또는 자주 사용하는 언어가 지원됩니까?이 체험판 릴리스는 C# 언어만을 지원합니다. 이는 C#이 스토어 앱에서 가장 많이 사용되는 언어이기 때문입니다. 하지만, 추후에는 모든 .NE..
-
VisualStudio devenv.exe 사용법.NET/VisualStudio 2013. 11. 29. 11:17
사용법: devenv [solutionfile | projectfile | anyfile.ext] [switches] devenv의 첫째 인수는 일반적으로 솔루션 파일 또는 프로젝트 파일입니다. 다른 파일을 첫째 인수로 사용하면 편집기에서 해당 파일이 자동으로 열립니다. 프로젝트 파일을 입력하면 IDE는 프로젝트 파일의 부모 디렉터리에서 프로젝트 파일과 기본 이름이 같은 .sln 파일을 찾습니다. 그러한 .sln 파일이 없으면 IDE는 프로젝트를 참조하는 단일 .sln 파일을 찾습니다. 단일 .sln 파일도 없으면 IDE는 프로젝트 파일과 기본 이름이 같은 기본 .sln 파일 이름을 사용하여 저장되지 않은 솔루션을 만듭니다. 명령줄 빌드: devenv solutionfile.sln /build [ sol..
-
C# Custom Sort Null 널값이 제일 아래로 IComparer IComparable.NET/C# Basic 2013. 8. 23. 10:17
IComparable 및 IComparer 인터페이스 Visual C#에서 사용 하는 방법refer: http://support.microsoft.com/kb/320727/ko static void Main(string[] args) { // Create an arary of car objects. car[] arrayOfCars = new car[8] { new car("Ford",1992), new car("Fiat",1988), new car("Buick",1932), new car("Ford",1932), new car("Dodge",1999), new car(string.Empty,1990 ), new car("sexy",null ), new car("Honda",1977) }; // Write..
-
WPF Interactive 2D Drawing.NET/WPF 2D 2013. 7. 11. 03:31
public partial class MainWindow : Window { private List paths = new List(); private Point startPoint = new Point(); private Shape rubberBand = null; Point currentPoint = new Point(); private bool isDragging = false; private bool isDown = false; private Path originalElement = new Path(); private Path movingElement = new Path(); private Path path1 = new Path(); private Path path2 = new Path(); pri..
-
-
WPF 2D PathGeometry Class.NET/WPF 2D 2013. 7. 11. 03:23
reference : Practical WPF Graphics Programming
-
WPF 2D Combined Geometry.NET/WPF 2D 2013. 7. 11. 03:20
reference : Practical WPF Graphics Programming
-
-
WPF Geometry and 2D Drawing.NET/WPF 2D 2013. 7. 11. 03:15
reference : Practical WPF Graphics Programming
-
WPF 2D Composite Transforms.NET/WPF 2D 2013. 7. 4. 01:07
TransformGroup tg = new TransformGroup(); tg.Children.Add(ScaleTransform(2, 3)); tg.Children.Add(TranslateTransform(100, -100)); tg.Children.Add(RotateTransform(45)); tg.Children.Add(SkewTransform(30, 45)); Rectangle.RenderTransform = tg; reference : Practical WPF Graphics Programming
-
-
-
WPF 2D Scale Transforms.NET/WPF 2D 2013. 6. 28. 00:17
reference : Practical WPF Graphics Programming
-
WPF 2D Object Matrix Transforms.NET/WPF 2D 2013. 6. 28. 00:04
M11 M12 M21 M22 OffsetX OffsetY Apply init Original shape private void BtnApply_Click(object sender, RoutedEventArgs e) { GetValue(); } private void GetValue() { if (matrixTransform != null) { Matrix m = new Matrix(); m.M11 = tbM11 != null ? tbM11.Value : 0; m.M12 = tbM12 != null ? tbM12.Value : 0; m.M21 = tbM21 != null ? tbM21.Value : 0; m.M22 = tbM22 != null ? tbM22.Value : 0; m.OffsetX = tbOf..
-
WPF 2D Creating Perpendicular Lines.NET/WPF 2D 2013. 6. 27. 23:11
X1 Y1 X2 Y2 Length Line2 Apply Close Point1 Point2 Point3 Point4 private Line line1; private Line line2; public MainWindow() { InitializeComponent(); Rectangle rect = new Rectangle(); rect.Stroke = Brushes.Black; rect.Width = canvas1.Width; rect.Height = canvas1.Height; canvas1.Children.Add(rect); line1 = new Line(); line2 = new Line(); AddLines(); } private void AddLines() { Point pt1 = new Poi..
-
WPF 2D Transformations Matrix Transforms.NET/WPF 2D 2013. 6. 27. 22:37
// Invert matrix: Matrix matrix = new Matrix(1, 2, 3, 4, 0, 0); tbOriginal.Text = "(" + matrix.ToString() + ")"; matrix.Invert(); tbInvert.Text = "(" + matrix.ToString() + ")"; // Matrix multiplication: Matrix m1 = new Matrix(1, 2, 3, 4, 0, 1); Matrix m2 = new Matrix(0, 1, 2, 1, 0, 1); Matrix m12 = Matrix.Multiply(m1, m2); Matrix m21 = Matrix.Multiply(m2, m1); tbM1M2.Text = "M1 = (" + m1.ToStrin..
-
WPF 2D 차트에 대한 사용자 정의 좌표.NET/WPF 2D 2013. 6. 18. 23:30
XMin XMax 10 YMin 0 YMax 10 Apply Close public partial class MainWindow : Window { private double xMin = 0.0; private double xMax = 10.0; private double yMin = 0.0; private double yMax = 10.0; private Line line1; private Polyline polyline1; public MainWindow() { InitializeComponent(); AddGraphics(); } private void AddGraphics() { line1 = new Line(); line1.X1 = XNormalize(2.0); line1.Y1 = YNormal..