Posts

Short Cut for developers

Run Command       #  Command Name  Description 1  msinfo32  System Information            2  control       Control Panel  3  devmgmt.msc  Device Manger  4  eventvwr  Event Viewer  5  appwiz.cpl  Programms and Features  6  services.msc  Manager all services  7  mstsc       Remote Desktop Connection  8  inetmgr  Internet Information Services(IIS)  9  cmd       Command Prompt      

Tech Talk of 2024

https://github.com/moovweb https://www.coach.com/ https://tanstack.com/query/v4/docs/framework/react/comparison https://github.com/vercel-labs/gemini-chatbot https://astro.build/ https://www.debugbear.com/ https://medium.com/@cramirez92/s-o-l-i-d-the-first-5-priciples-of-object-oriented-design-with-javascript-790f6ac9b9fa

Exposing your localhost web server to public

Public URLs for exposing your local web server https://ngrok.com/ https://localtunnel.me/

How to Fix Secure Connection Failed Error in Mozilla Firefox

If you have done all client side fix but no luck then try server side. Below suggestion helped me to quickly solved my problem It looks like the issue with Firefox is most likely being caused by the cipher suites the server has enabled. I scanned the site using SSL Labs here:  https://www.ssllabs.com/ssltest/analyze.html?d=faceawards.nyxcosmetics.com.tw,  and it shows a few ciphers suites enabled, but none are supported by Firefox so a secure connection cannot be created. I would recommend running a tool called IIS Crypto ( https://www.nartac.com/Products/IISCrypto ) on your server and select the option to enable "Best practices", this will ensure you have secure ciphers that are supported by all browsers enabled on the server.  If you don't want to download the IIS Crypto utility on your server you can also edit the ciphers directly through the Windows SSL Configuration Settings ( https://docs.microsoft.com/en-us/windows-server/security/tls/manage-tls#configuring-...

PortQry solve your connectivity issues

Portqry is a Microsoft tool that provides information about TCP and UDP ports that are "listening" locally and which process or service is offering IP services on a system.  PortQry is nothing more than a tool developed to aid in the troubleshooting of helping solve connectivity issues by allowing for the scanning of ports in a better way. PortQry vs. Telnet: Which tool to use? Download

IIS Crypto is a tool the ability to enable or disable protocols, ciphers, hashes and key

Introduction IIS Crypto is a free tool that gives administrators the ability to enable or disable protocols, ciphers, hashes and key exchange algorithms on Windows Server 2008, 2012 and 2016. It also lets you reorder SSL/TLS cipher suites offered by IIS, implement best practices with a single click, create custom templates and test your website. Download

Introduction PsPing

Introduction of PsPing PsPing implements Ping functionality, TCP ping, latency and bandwidth measurement. Download
Learning JavaScript Design Patterns Preface Design patterns are reusable solutions to commonly occurring problems in software design. They are both exciting and a fascinating topic to explore in any programming language. One reason for this is that they help us build upon the combined experience of many developers that came before us and ensure we structure our code in an optimized way, meeting the needs of problems we're attempting to solve. Design patterns also provide us a common vocabulary to describe solutions. This can be significantly simpler than describing syntax and semantics when we're attempting to convey a way of structuring a solution in code form to others. In this book we will explore applying both classical and modern design patterns to the JavaScript programming language. Essential js Design Patterns
Bootstrap themes are released under the MIT License and maintained by the community on  GitHub http://bootswatch.com/
Google Trend - SharePoint vs SiteCorre I was trying to understand the future market. So generated the comparison report.
Difference between ASP.NET MVC 6 and ASP.NET MVC 5 The best way to learn what’s new in any technology is to compare with its previous version. Here will be understanding the difference between ASP.NET MVC 6 and ASP.NET MVC 5 by creating sample application and comparing project solution  structure between them. Well we have many difference(s) between ASP.NET MVC 6 and ASP.NET MVC 5 in solution structure itself, lets explore them without code been written. Follow on originally posted article

T4 Templates and the Entity Framework

Code generation isn’t new in Visual Studio. Nearly every visual design surface, from Web Forms to Windows Forms to typed DataSet designers, has transformed shapes into code using code generation behind the scenes. The key phrase is behind the scenes. As developers, we did not always have the control we needed over the code generation process. What is new in Visual Studio is how more frameworks are using T4 Templates for code generation. The frameworks integrating with T4 can give developers complete control over the code generation process. The Entity Framework is one such framework. This paper will discuss how the Entity Framework uses T4 Templates to generate custom code from an ADO.NET Entity Data Model (EDM), and assumes the reader is already familiar with the Entity Framework’s API and designer. We’ll begin with an overview of the T4 technology and see how the technology works. We’ll also look at how we can programmatically consume metadata from an EDM. In the end, we’ll combin...

Understand the usage of HTTP status code 401 vs. 403 vs. 404

When I tried to understand the actual scenario of these HTTP status code. I got this article with some valid example. Handling Forbidden RESTful Requests: 401 vs. 403 vs. 404

Understanding of garbage collection in net

http://www.csharpque.com/2013/05/understanding-garbage-collection-in-net.html

Uploading and returning files in an ASP.NET MVC

Uploading and returning files in an ASP.NET MVC application is very simple. I found very simple article. Uploading and returning files

backbone-js tutorial collection

understanding-backbone-js-simple-example

Top 10 Web Application Penetration Testing Tools

Well this is not quite a default top ten list (based on witch one is the smarter/faster/better) but just a simple list of applications you can use in a pentest. Free and open source app come first. Source

Implementing Solutions that Leverage Microsoft Sync Framework to Provide Synchronization

Microsoft Sync Framework to Provide Synchronization Video

asp file upload error

Recently I struggled for file upload in asp web site. I did some fix but in beginning I am not able to understand the reason. After going through this below line, I am able to understand the reason Q1. I want to let my users specify the destination directory to which the files will be uploaded. I included &ltINPUT TYPE="TEXT" NAME="PATH"&gt in the form, and my upload script looks like this: . However this does not seem to work. A. You cannot use the Form collection before calling Save because it is not yet populated. The right way to do it is to upload the files to a temporary directory and then copy or move them to the specified destination directory as follows: n = Upload.Save "c:\upload" For Each File in Upload.Files File.Copy Upload.Form("Path") & "\" & File.ExtractFileName Next %> I got hint from aspupload site. www.aspupload.com/faq

3 Ways to Send Emails with dynamic content in ASP.NET

To send email from asp.net application, we have followed various approaches in past 1. Create & design HTML file, Use place holder to find and replace. Pros: If you are sending one type of email. Easy to test the layout in different browsers. Cons: if you are sending multiple types of email but for email format or layout is same. Difficult to maintain Performance slow, due to disk read operation. Difficult to Test in different browser with dynamic data. 2. Create XSLT file, transform by passing your custom object. Pros: if you know xslt and only one type of email you want to send. Cons: Xslt knowledge is required Difficult to maintain, If you have to send multiple type of dynamic email content with same email format or layout. Very difficult to debug. Some Performance hit. 3. Create two asp.net User controls, one master user control & one is child user control. Master user control will be similar to asp.net master page. To keep email outer email body template in one location. ...