Showing posts with label web development. Show all posts
Showing posts with label web development. Show all posts

Sunday, August 16, 2020

How to make Microsoft Edge Chromium and Classis Edge run side by side

The Microsoft Edge Chromium is so good that you may not need to keep Classic Edge in your computer. But in case you need to keep both versions, here is a tip from https://geekermag.com/use-microsoft-edge-chromium-classic-edge-side-by-side/

Modify Window Registry using RegEdit to set this key to 1: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\EdgeUpdate
 

Make key EdgeUpdate if it does not exist.





Further reading:

Monday, September 16, 2013

ASP.NET Questions and Answers – Part 5

What is differences between an ADO.NET Dataset and an ADO Recordset?

  • ADO RecordSet looks like a single table. ADO.Net DataSet is collection of single or more tables.
  • ADO RecordSet can hold data from a single data source. ADO.Net DataSet can hold data from any data sources.
  • ADO RecordSet is a connected environment. ADO.NET DataSet is a collected of tables and it is a disconnected environment i.e., there is no constant connection with database.

What is the parent class of the Web server control?

The System.Web.Ul.Control class is the parent class for all Web server controls.

What are the various ways of authentication techniques in ASP.NET?

  • Windows Authentication - This is the default authentication technique. It can work with any form of Microsoft Internet Information Services (IIS) authentication, such as Basic, Integrated Windows authentication (NTLM/Kerberos), Digest, and certificates. The syntax of Windows authentication mode is given as follows:
  • Forms Authentication - You can specify this mode as a default authentication mode by using the following code snippet:
  • Passport - This mode works with Microsoft Passport authentication, as shown in the following code snippet:

Related posts:

Thursday, August 22, 2013

How to access Wamp Server running on Windows 2008 from other computer?

The firewall rules on Windows 7 or Windows 2008 or later version may not allow you access to your web site running by WampServer from other computer. To fix this problem:

Step 1: Update httpd.conf to add this line
Allow from 192.168.1.0/255.255.255.0 # for LAN
#or
Allow from all # for any computer in the world
Remember to restart Apache server after change the httpd.conf

Step 2: Check Windows Firewall.
  • Is the port 80 open?
  • Is the Apache Web Server (\wamp\bin\apache\Apache2.4.4\bin\httpd.exe allow to receive the request from other?

Saturday, August 17, 2013

WAMP

WAMP stands for Microsoft Windows operating system, Apache web server, MySQL database, and PHP general-purpose scripting language for server side Web development. Among WAMP server packages, I like WampServer since it easy to instal, have latest version from Apache, MySQL and PHP and it's free. Before you install the WampServer, you need to make sure your computer have:

  • Microsoft Visual C++ 2010 run-time. Without Microsoft Visual C++ 2010 run-time, you will see the error message "vcr100.dll missing" when install.
  • Microsoft .NET Framework 3.5.1. This fixed the problem 'aestan tray menu has stopped' when you start the WampServer

To install Microsoft Visual C++ 2010 Redistributable Package (x64) ( http://www.microsoft.com/en-us/download/details.aspx?id=14632 )

On Windows 2008R2 server, make sure .NET Framework 3.5.1 enable. It disable by default. ( http://social.technet.microsoft.com/Forums/windowsserver/en-US/ac1bf719-0a88-4b5d-be98-395f2623e805/what-version-of-net-framework-comes-with-windows-2008-r2 )

Saturday, May 11, 2013

Notes on MVC Music Part 3 Tutorial

MVC Music Store is a great tutorial written by Jon Galloway. Using Visual Studio 2012 with MVC 4 Web Application Empty template, the following folders are note available:
  • /View/Shared
  • /Content/
  • /Scripts
Here are solutions:
  1. Drag /Content folder from MVCMusicStore-Assets.zip into MvcMusicStore solution folder in Visual Studio 2012. If you just drag and drop in Windows Explorer, make sure it 'included in the project'
  2. Select Manage Nuget Packagse under Project menu to install jQuery. The /Scripts folders will create under MvcMusicStore folder.
  3. Add folder Shared to /View folder
  4. Right click on /View/ folder to add MVC 4 Layout page (Razor) and named it _Layout.cshtml. Copy the code in tutorial into this file. Also correct version of installed jQuery script. Here, I used jquery-2.0.0.min.js instead of jquery-1.5.1.min.js
  5. Right click on /View/Shared folder to add MVC 4 Layout page (Razor) and named it _ViewStart.cshtml. Added the following codes to this file:
    @{
    Layout = "~/Views/Shared/_Layout.cshtml";
    }

Monday, March 11, 2013

ASP.NET Questions and Answers – Part 3

What is a master page?
A master page is a template for other web pages in your web application with shared layout and functionality. The master page defines placeholder for the content which can overridden by content pages.

What is the Global.asax file?
The Global.asax file, also known as the ASP.NET application file, is an optional file that contains code for responding to application-level events raised by ASP.NET or by HttpModules. The Global.asax file resides in the root of an ASP.NET based application. At run time, Global.asax is parsed and compiled into a dynamically generated .NET Framework class derived from the HttpApplication base class. The Global.asax itself is configured so that any direct URL request for it is automatically rejected; external users cannot download or view the code written within it. Read more at msdn.microsoft.com

What is the difference between ASP and ASP.NET?
  • ASP is interpreted. ASP.NET is compiled.
  • ASP uses VBScript. However, ASP.NET uses C# and VB.NET which are compiled to Microsoft Intermediate Language (MSIL).

Related posts:

Saturday, December 15, 2012

Microsoft Exam 70-480: Programming in HTML5 with JavaScript and CSS3

I passed the Microsoft Exam 70-480 Programming in HTML5 with JavaScript and CSS today. I am so happy. I took this exam for FREE! using this voucher code: HTMLJMP (voucher code available through 3/31/2013 or while supplies last). In the past few months, I spent sometime to learn and using HTML5, CSS3, JavaScript and JQuery. Here are some resources I used to learn:

How to Install Keka on macOS

Download latest version from https://www.keka.io/en/ Copy the MD5 hash value from Keka website to compare later (MD5: 8729f9d08d10293fa1ee65...