Skip to main content

Posts

Fixing WCF HTTPS Endpoint 404 Errors

Windows Communication Foundation (WCF) may be considered an old technology, but many legacy .NET projects still rely on it. If you are working with WCF services hosted in IIS, you may encounter an issue when exposing services over HTTPS . When the service is exposed over HTTPS, the <service name> defined in your web.config must exactly match the fully qualified type name of the service implementation class defined in the .svc file. If they do not match, WCF cannot resolve the endpoint, resulting in a 404 error . Example of Incorrect Configuration <service name="ServiceA"> ... </service> Correct Configuration <service name="ProjectA.Setup.Service.ServiceA"> ... </service> This small detail often gets overlooked, but ensuring the names match is essential for WCF to properly locate and expose the ...
Recent posts

Privacy policy of Photo Hidden Data

  NAING SOE AUNG built the Photo Hidden Data app as a Freemium app. This SERVICE is provided by NAING SOE AUNG at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Photo Hidden Data unless otherwise defined in this Privacy Policy. Information Collection and Use ...

Solving Access Denied error when creating an X509Certificate2 in .net

  You may encounter access denied error while creating certificate in .net But you've granted permission to certFilePath folder and no issue with this. You have no issue in development environment too. Only occur in Production server. How to solve? While creating certificate, by default it will create physical cert file in server. Since production servers are configured with limited permissions/access rights and mostly deny access by default due to security concerns, there are high chances that you will get access denied error. So stop wasting time with access rights. Instead, create certificate on memory using "X509KeyStorageFlags.EphemeralKeySet" flag. Ya. this is the solution when you need to create cert temporally. It works on both development & prod environment regardless of access rights. and don't forgot dispose after using it. certificate.Dispose(); .net, c#, asp.net

ကွန်ပြူတာ ပရိုဂရမ်းမင်း အကြောင်း တစေ့တစောင်း

ဤဆောင်းပါးသည် ကွန်ပြူတာကိုစိတ်ဝင်စားသူ လူတိုင်းအတွက်ရည်ရွယ်ပါသည်။ ကွန်ပြုတာဖြင့်အသက်မွေးကြောင်းမပြုသော်လည်း ဒစ်ဂျစ်တယ်ခေတ်တွင် လူတိုင်းနီးပါး ကွန်ပြုတာ၊ မိုဘိုင်းဖုန်းဖြင့်ရင်းနှီးနေကြပြီ ဖြစ်သည်။ အင်တာနက်ဆိုတာသုံးဖူးနေကြပြီ။ ထို့ကြောင့် အားလုံးအတွက် ဗဟုသုတရစေလို၍ ရေသားလိုက်သည်။ ကွန်ပြူတာအခြေခံမရှိသူ အားလုံးအတွက်ပါ ရည်ရွယ်သဖြင့် သဘောတရားနဲ့ အလုပ်လုပ်ပုံအကြာင်းကို ပိုအလေးထား ရှင်းပြထားပါသည်။ ပရိုဂရမ်းမင်း ဆိုတာဘာလဲ လူတယောက်၏ ခန္ဓာကိုယ် အစိတ်အပိုင်းကို လေ့လာကြည့်ပါ။ ဦးနှောက့်၊ မှတ်ညဏ်၊ နား၊ မျက်လုံး၊ ပါစပ်၊ မျက်နာ၊ ခြေ၊ လက် စသဖြင့်ရှိသည်။ ဒီလိုအစိတ်အပိုင်းတွေကို ပေါင်းစည်းကာ "လူ" ဟူ၍ဖြစ်ပေါ်လာခြင်းဖြစ်သည်။ ကွန်ပြုတာဆိုသည်မှာလည်း ထိုးနည်းတူဖြစ်သည်။ အီလက်ထရောနစ်  အစိတ်အပိုင်းတွေ ပေါင်းစည်းကာ ကွန်ပြုတာ ဖြစ်ပေါ်လာသည်။ ဦးနှောက့် နှင့်တူသော CPU (Central Processing Unit)၊ မှတ်ညဏ်နှင့်တူသော မန်မိုရီ၊ နား နှင့်တူသော ဆားကစ်လမ်းကြောင်း၊ ကေဘယ်တွေ ရှိသည်။ (ဥပမာ ကီးဘုတ်မှ 'A' ကိုနှိပ်တဲ့အခါ ကီးဘုတ်ကေဘယ်လ်မှ တဆင့်ခြင်းဖြတ်ကျော်ကာ CPU သို့ရောက်သည်ဟု အလွယ်မှတ်ပါ )။ မျက်လုံးနှင့်တ...
Native app လုပ်ရတာကလည်း Android ဆိုတမျိုး iOS ဆိုတဖုံနဲ့ လုပ်ရတာ အချိန်ကုန်လက်ဝင်တယ်။ တခါတည်းနဲ့ ၂ ခုလုံးမှာသုံးလို့ရအောင်လုပ်မယ်။ Webview သုံးတဲ့ Cordova တို့ Ionic တို့ထွက်လာတယ်။ Facebook: WebView ကြီးနဲ့ မမိုက်ပါဘူးကွာ။ ပိုပြီး native ဆန်သွားအောင် React ကိုအခြေခံပြီး Reactive native လုပ်လိုက်တယ်။ တခါပဲရေး Android ရော iOS ရော ၂ ခုထွက်။ Google: မင်းတို့ဘယ်လိုပဲ native လုပ်လုပ် အစစ်မဟုတ်ပါဘူးကွာ။ native နဲ့ပိုပြီး နီးစပ်အောင်လုပ်ပြမယ်။ React စတိုင်ကို အခြေခံပြီး Flutter ထွက်လာတယ်။ Dart language သုံးတယ်။ လေ့လာရတာလွယ်ပါတယ်။ Apple: လွယ်လွယ်ကူကူလုပ်လို့ရအောင် ငါလည်းဖန်တီးတက်ပါတယ်။ ဒါပေမဲ့ Apple ရဲ့ထုံးစံအတိုင်း cross platform မလုပ်ဘူးလေ။ iOS အတွက်ပဲ declarative ပုံစံနဲ့ SwiftUI ထွက်လာတယ်။ React, Flutter ပုံစံအတိုင်းပါပဲ။ Google: မင်းတို့မှ native သီးသန့်အတွက် လွယ်လွယ်ကူကူ App ဖန်တီးလို့ရတဲ့ ပုံစံမျိုး လုပ်တက်တာမဟုတ်ပါဘူး။ ငါလည်းလုပ်တတ်တယ်ဆိုပြီး Jetpack compose ထွတ်လာပြန်တယ်။ Microsoft: IE သိပ်ခါပြန်ဆယ်ဖို့ Visual Studio ...
၂၀၁၉ ၃လပိုင်းလောက်က ပရောဂျက်အဟောင်းတခုကို Commercial cloud ကို ပြောင်းရွှေ့ဖို့ လုပ်ရင်းကနေ AWS က certificate ယူဖို့ မဖြစ်မနေလိုအပ်လာခဲ့တယ်။   ဒီလိုနဲ့ AWS Certified Solutions Architect – Associate ကိုအရင်စဖြေဖြစ်တယ်။ ပြင်ဆင်ခဲ့တာတွေကို မျှဝေပေးတာပါ။ ၁။ အရင်ဆုံး ဒီ AWS ဆိုဒ်ကနေ Exam အတွက်ပြင်ဆင်ရမည် အကြောင်းအရာတွေကို လေ့လာပါတယ်။ https://aws.amazon.com/certification/certified-solutions-architect-associate/ https://aws.amazon.com/certification/certification-prep/ AWS Well-Architected ( https://d 1. awsstatic.com/whitepapers/architecture/AWS_Well-Architected_Framework.pdf ) လို white papers တွေကို သေခြာဖတ်နိုင်ရင်တော့ အကောင်းဆုံးပေါ့။ ကျွန်တော်ကတော့ ခုန်ကျော်ပေါက်လွှားပဲ ဖတ်ဖြစ်လိုက်တယ်။   ဒီစာအုပ်မှာ အဓိကအကြောင်းအရာ အပိုင်း ၅ ခုပါတယ်။ Operational Excellence, Security, Reliability, Performance Efficiency, Cost Optimization အကြောင်းတွေပါ။   မေးခွန်းမှာ ဘယ်အပိုင်းက ရာခိုင်နှုန်းဘယ်လောက်ပါမလဲဆိုတာကို AWS Exam preparation guide မှာသေခြာဖော်ပြပေးထားပါတယ်။ ဒါတွ...