Alkane Solutions
Alkane Solutions Fixed-Price Apps | Trusted IT Partner
Alkane Solutions | G-Cloud Supplier Alkane Solutions | Microsoft Partner

Main menu

Skip to primary content
Skip to secondary content
  • Application Packaging Services
    • Why Application Packaging?
    • MSIX Application Packaging Services
    • Application Packaging Service for the NHS
    • Application Packaging for MECM
    • Intune Application Packaging Services
    • Evergreen Application Packaging Services
  • About
    • Team
    • Case StudiesCase studies of the work we have done for our clients.
  • Contact Us
  • Log In
  • Register
  • Submit a Guest Post!
  • Recommended Reading
  • Fixed-Price Quote

Home - ASP.Net

Useful scripts for use with Asp.Net


Debug SOAP and REST in IIS Express using Fiddler

Posted on April 5th, 2017

I’ve been using Visual Studio 2013 Express to make a C# website that uses SOAP to request services from another company.  Everything was working fine, until one day I suddenly started getting HTTP 500 errors.  Naturally the service provider said … Continue reading →

Tagged Fiddler, HTTPWebRequest |

ASP.Net Upload Handler using SSH.Net and Plupload

Posted on July 1st, 2015

Ok.  I won’t drag this out too much since there’s FAR too much to comment on.  But my aim was to create a web-based upload facility that is compatible with old browsers (such as IE8) and has the ability to … Continue reading →

|

Rijndael Encryption and Decryption in C# and Powershell

Posted on May 20th, 2015

This is an example of how we can perform Rijndael encryption and decryption in C# and Powershell. It’s worth mentioning that: – salt must be 8 bytes minimum – initVector must be 16 bytes minimum The examples below use Cipher … Continue reading →

|

Getting the Public Key Token of an Assembly using Powershell

Posted on May 20th, 2015

This post provides an example of getting the public key token of an assembly using PowerShell. When I need to add definitions to the web.config of my ASP.Net projects I often use this Powershell line to get the PublicKeyToken, Culture … Continue reading →

|

Integrating Lync Status into an ASP.Net Gridview

Posted on January 7th, 2015

This post describes integrating Lync status into an ASP.Net Gridview.  I had a bit of a nightmare trying to achieve this so that it worked on IE8 all the way up to IE11 .  First I had it working on … Continue reading →

Tagged asp.net, gridview, lync |

Create a custom debug log file in an ASP.Net Class

Posted on November 7th, 2014

This is a quick example of how to create a custom debug log file in an ASP.Net class which you can use in your website.  If the file doesn’t exist, it creates it.  It names the file today’s date.  And … Continue reading →

Tagged asp.net, log |

Getting and Setting Session State in HttpHandlers (ASHX files)

Posted on November 7th, 2014

If you just want to read your Session State from an ASHX or HttpHandler, you need to implement IReadOnlySessionState.  If you want to write to your Session State, you must implement IRequiresSessionState.  Note that you will also need use the System.Web.SessionState namespace.  This post … Continue reading →

Tagged ashx, httphandler, IReadOnlySessionState, IRequiresSessionState |

Strip out style attributes in HTML

Posted on July 16th, 2014

This post describes the process I use to strip out style attributes in HTML code using a regular expression. My website is presenting data from a field in SharePoint.  This field uses HTML and CSS style attributes to construct the … Continue reading →

Tagged regex |

Re-bind the GridView on the Parent Page after FancyBox close

Posted on May 21st, 2014

I have a GridView with hyperlinks in some of the columns, which open up a new page in a FancyBox.  FancyBox is a pretty cool lightbox alternative.  Anyway, in the FancyBox page content you can make changes which will affect values in … Continue reading →

Tagged Fancybox |

Detect if an ASP.Net form is Valid from Javascript

Posted on May 21st, 2014

We can detect if an ASP.Net form is valid from Javascript by using the following: if (typeof (Page_ClientValidate) == ‘function’) { Page_ClientValidate(); } if (Page_IsValid) { //form valid }  

Tagged Page_ClientValidate, Page_IsValid |

« Previous Entries
Next Page »

Recommended Reading

Over

10,000

Applications
Packaged

Over

18

Successful
Migrations

Over

50

Happy
Clients

Application Packaging Services in Manchester, UK.
12b Kennerleys Lane, Wilmslow, England, SK9 5EQ

Application Packaging Services in London, UK.
152-160 City Road, London, EC1V 2NX.

© Alkane Solutions Ltd 2025
Privacy Policy | Modern Slavery | LinkedIn | Blog Posts

APPLICATION PACKAGING QUOTE!

✔ Fixed Price.
✔ Experienced IT Professionals.
✔ Highly Competitive Prices.
✔ 12 Month Warranty.






    This will close in 0 seconds