Skip to content

Codepolice

  • ⤫

Browsing Category Javascript

StackoverflowException with ASP.NET MVC

I got this strange Stackoverflow exception today in my MVC project. I have made some modifications to my data model and all of a sudden I got a stack overflow exception when I was submitting data via a form. I started googling about it and found this thread on the asp.net message board. It turns out that

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

Generate expiring urls for Amazon S3 via a WordPress Plugin

I am a .net developer and haven’t done any PHP work ever. But I use WordPress and for some time now I have been looking for a plugin that could generate a URL for Amazon S3 that is “signed” and will expire after a certain amount of time. I posted the question on both WordPress and amazon forums but

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

Cascade delete in Entity Framework

I had a really hard time getting a simple cascade delete to work with the Entity Framework and I thought I had to write it down here so that I can remember it in the future. I was trying to delete an item from my database with some children. But I got the error A

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

ASP.NET membership: System.Web.Security. SqlRoleProvider problems

I had this really weird problem just now. I have done some work with the ASP.NET Membership provider and everything has been working great. But when I tried to deploy my application to the server I got this: The ‘System.Web.Security.SqlRoleProvider’ requires a database schema compatible with schema version ‘1’. However, the current database schema is

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

Problems with Dean’s Permalinks Migration after WordPress 

I updated to WordPress 2.7 when it was released and on the surface, everything seemed to work just fine. Then today when I clicked an old link to one of my WordPress sites I got a 404 message. It turns out that Dean’s Permalinks Migration plugin stopped working after WordPress 2.7 (i assume at least, I didn’t

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

Finally have Subversion + CruiseControl.NET + MSBuild running

I’ve been struggling the whole afternoon to get some kind of continuous integration up and running. It started with that I got sick and tired of the Publish feature in Visual Studio 2008 because it just starts to fail from time to time and it’s kind of impossible to find out why because it doesn’t give any

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

Group By with LINQ

Today I wanted to do a group-by query with LINQ which is something I did before. It turned out to be kind of easy. If you just want to group by a single field. (from s in db.CrewStatsSet where s.LogDate >= date1 && s.LogDate <= date2 && s.Action == action group s by s.User.nick into

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

Join and Group By with LINQ to Entities

I have banged my head against some LINQ to Entities stuff today. It started out when I was doing a query to get some stats out of my forum. I should point out that I’m a newbe with LINQ to Entities and the Entity Framework so if I have done anything stupid here you are

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

Using JQuery Validation plugin with ASP.NET

Like everyone else, I’ve been playing around with JQuery a lot lately. Asp.net and JQuery are not the best friends in the world but I guess it will be a lot better when using ASP.NET MVC. Microsoft also announced that they will support JQuery natively in future versions. Nice! If you want to learn more about

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

Create a tag cloud with a limited amount of tags in ASP.NET and LINQ

Today I built a Tag cloud for my new site. I found this great article about how to do it with LINQ and C#. But I missed some features. Especially how to limit the number of tags that were shown. So if you read that article and then have a look at this code if you

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

Posts pagination

Page 1 … Page 31 Page 32 Page 33
Codepolice

  • Github
  • Atlassian
  • Flatlogic
  • Xero
  • Jetbrains
  • Figma
  • Bringing Python apps into Node
  • Vite gets its own documentary
  • npm security best practices to consider
  • React 19.2 is in the building
  • Using Node with Cloudflare Workers
https://flatlogic.com/generator
COPYRIGHT © 2025 - Codepolice