C#

  • Web Developer Monthly - January 2019

    Web Developer Monthly January 2019

    Jan 2019

    Web
    Developer
    Monthly

     

     

    Happy New Year and welcome to another Web Developer Monthly. To kick things off for 2019 this month's edition contains the definitive website performance checklist, links to download Visual Studio 2019, a tool to auto remove backgrounds from your images and more.

    If you've spotted anything you'd like me to share for the next Web Developer Monthly let me know in the comments below or reach out to me on Twitter. Enjoy!

  • Web Developer Monthly - December 2018

    Web Developer Monthly December 2018

    Dec 2018

    Web
    Developer
    Monthly

     

     

    Welcome to another Web Developer Monthly. This month's edition contains news about Visual Studio 2019, really cool Goolge performance tools, jaw dropping CodePens and more.

    If you've spotted anything you'd like me to share for the next Web Developer Monthly let me know in the comments below or reach out to me on Twitter. Enjoy!

  • Web Developer Monthly - November 2018

    Web Developer Monthly November 2018

    Nov 2018

    Web
    Developer
    Monthly

     

     

    Welcome to another Web Developer Monthly. This month's edition contains news from the latest .Net open source projects, awesome frontend training resources and the odd JavaScript tips for you to try out.

    If you've spotted anything you'd like me to share for the next Web Developer Monthly let me know in the comments below or reach out to me on Twitter. Enjoy!

  • Web Developer Monthly - October 2018

    Web Developer Monthly October 2018

    Oct 2018

    Web
    Developer
    Monthly

     

     

    Welcome to another Web Developer Monthly. This month's edition contains some awesome JavaScript tips, great CSS tutorials and the odd bit of news from the .net frontend world to get your juices flowing. If you've spotted anything you'd like me to share for the next Web Developer Monthly let me know in the comments below or reach out to me on Twitter. Enjoy!

    .Net, C#, CSS
  • How to extract a YouTube video id from a url

    how to get the video id from a youtube url

    If you're allowing customers to save YouTube videos on your site and you'd like to extract out the video id when storing into your database you could try using either of these options below.

    The thing to remember is that the YouTube url can be either:

    • Youtube.com
    • Youtu.be

    and the Video Id can be appended as a querystring parameter or as the last segment of the url:

    • YouTubeUrl?v=videoId
    • YouTubeUrl/videoId

  • Web Developer Monthly June 2017

    Web Developer Monthly launching June 2017

    Issue 01

    Welcome to the first issue of Web Developer Monthly. In this month's issue we take a look over the past 30 days to see what has been happening in the world of front-end web development. As this is the first issue, I suspect the format and type of news being covered could vary but lets see how this goes. If you have any comments, good or bad, let me know!

  • Web Developer Monthly - Starting June 2017

    Web Developer Monthly launching June 2017

    Over the last 3 years I've been working as a senior .net contractor which has meant that I haven't been blogging as much as I'd have liked. To try and fix this and to encourage myself to blog more I'm going to try something a little different and create a monthly blog series that will highlight some of the of the best web design and web development news that has caught my eye over the last 30 days or so.

    There are already tons of great daily and weekly web tech feeds out there but sometimes it can feel a bit like information overload. To set myself apart from these feeds I'm not going to list every single news item from the last month. Instead I'm going to pick the 'best bits' from the last few weeks and highlight what I feel are the big hitters. This could include news about asp.net, some JS framework news, TypeScript updates, GIT hints and tips, CodePen.io links or even just some funky UX techniques I've stumbled upon.

    Hopefully you'll find it useful. The first issue will drop next month so keep an eye out on Twitter for #WebDevMonthly. If you've spotted anything interesting recently be sure to reach out to me on Twitter to let me know: @RichardReddy

  • IIS 7 returning 404 error with extension less URL

    iis7 404 error with extensionless url asp.net 4.0

    I was recently working on updated an older asp.net 3.5 website to asp.net 4.0.  Unfortunately we can't upgrade to 4.5 due to the risk of breaking other sites on the same server. Our reason for the upgrade was really to take advantage of the routing ability that was built into asp.net 4.0 for webforms.

    If you're looking for help on setting up .net routing you can take a look at a simple 'how to' for setting up routing with WebForms here that I wrote a few years back.

    The issue I was having was that IIS was returning a 404 page not found error when I tried to go to a url without the .aspx. I had setup my global.asax file with the correct routing information but it was like IIS was ignoring these rules.

    C#, IIS7
  • Entity Framework 'could not load assembly' error message

    Cure for Entity Framework Migrations could not load assembly error message

    I usually setup a new solution so that it contains multiple projects. There's a project for web files, data files, services, utilities and so on. When I downloaded and setup Entity Framework through Nuget I installed it into my Project.Web (where all my views/controllers are) and to my Project.Data (where my data context is located with my repositories) projects.

    I installed EF Migrations to my Project.Data project as this is where my data context file lives. Everything compiles and run but sometimes when using Entity Framework Migrations I noticed that I was getting an error:

    Could not load assembly 'Project.Data'. (If you are using Code First Migrations inside Visual Studio this can happen if the startUp project for your solution does not reference the project that contains your migrations. You can either change the startUp project for your solution or use the -StartUpProjectName parameter.)

  • ← Older Posts

Get In Touch

Follow me online at TwitterFacebook or Flickr.

Latest Tweets