Skip to content

Codepolice

  • ⤫

MS SQL: Saving changes is not permitted if the table needs to be re-created

This is a classic. Microsoft SQL Server 2008 introduced a feature that prevents you from changing a table in the designer if it needs to be re-created. And whenever I get this I always forget where to turn this feature off. This time I recorded a 14-sec video that shows where this option is. Enjoy 

Posted by Judy Alvarez Posted on February 28, 2022March 1, 2022
0

Entity Framework Scaffolding: The type is not mapped issue

This was a tricky one. I was just watching Scott Hanselman’s session from MIX 11 “Microsofts Web Stack Of Love” and as always the guys it brilliant. It’s like stand-up mixed with development. Anyway, he talked a bit about MVC Scaffolding and about how awesome it was. I fired up Visual Studio and installed MVCScaffolding

Posted by Judy Alvarez Posted on February 28, 2022March 3, 2022
0

Creating an empty/blank text widget for WordPress without additional markup and divs

WordPress provides a simple text widget that you can use on your blog to add some random HTML, Ads, images, and so on. But I have one problem and that is that it’s always adding some extra HTML like this. <div class=”widget”> <div class=”textwidget”> </div> </div> Sometimes you do not want this code if you

Posted by Judy Alvarez Posted on February 28, 2022March 1, 2022
0

IE9 mess up the color theme in Visual Studio when started

I have a really weird issue with Internet Explorer 9 and my Visual Studio Color Scheme. Each time I start IE9 some of the colors in my IDE are changed. I have no idea why this is and hopefully, I can find some other person who has the same issue? I suppose it has something

Posted by Judy Alvarez Posted on February 28, 2022March 1, 2022
0

RouteDebugger and 404 MVC JSON requests

I got this really strange bug where I got a 404 error on all requests I made via Ajax to methods that returned Json via MVC. Turned out that this was caused by RouteDebug that I had laying around in my bin folder. I have got this bug twice now so I just wanted to

Posted by Judy Alvarez Posted on February 28, 2022March 3, 2022
0

Custom Action Result does not run ExecuteResult and just returns ToString

All of a sudden all of my RSS feeds stopped working on AlternativeTo. All I got was the name of the type I returned from my MVC methods that should return a “RssResult”. After some Googling, I finally found the answer on Stack Overflow as usual. The problem was that I used version; MVC 2

Posted by Judy Alvarez Posted on February 28, 2022March 3, 2022
0

Automatically switch spell check language/dictionary as you type in Firefox

I have been looking for a plugin like this for ages. I constantly switch between Swedish and English when I work and it’s a pain to always remember to switch the spell check to the correct language. But today I found Dictionary Switcher that automatically sets the spelling language to the locale of the page but also

Posted by Judy Alvarez Posted on February 28, 2022March 3, 2022
0

Batch Optimize Png, Jpg, and Gif images in Windows (and Visual Studio)

A couple of days ago I found an awesome extension to Visual Studio that lets you just right-click a folder in VS and it will optimize all the images in it with the help of SmushIt and PunyPng. I have tried to find a tool like this for a long time but haven’t found anything that suits

Posted by Judy Alvarez Posted on February 28, 2022March 3, 2022
0

Copy a folder with Robocopy

I’m playing around a bit with PhoneGap at the moment. I wanted to make a script that copies all my javascript, HTML, images and CSS from my Visual Studio project folder to each of the different PhoneGap projects for iOS, Android, and so on. Visual Studio has a feature to execute commands after the project

Posted by Judy Alvarez Posted on February 28, 2022March 3, 2022
0

Make the Git GUI appear after you publish a Web Project in Visual Studio 2010

A couple of months ago I started to use GIT as my primary Source Control. To be honest I hadn’t used any “real” source control at all before for this project. I only used an online backup service that had some basic version control on a file-to-file basis. But I love GIT. It’s really simple

Posted by Judy Alvarez Posted on February 28, 2022February 17, 2023
0

Posts pagination

Page 1 … Page 24 Page 25 Page 26 … Page 29
Codepolice

  • Github
  • Atlassian
  • Flatlogic
  • Xero
  • Jetbrains
  • Figma
  • The power of generators
  • Making and parsing RSS and Atom feeds
  • Big Node, VS Code, and Mantine updates
  • Node.js 24 released
  • Making V8 eager to compile your JavaScript
https://flatlogic.com/generator
COPYRIGHT © 2025 - Codepolice