Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

Archive for the ‘.NET’ Category

550 Cannot receive from specified address : Unauthenticated senders not allowed in SendGrid

leave a comment »

I received this while working with SendGrid. The issue was, we are not using Authentication before sending emails. Just set it up in our code and it works like charm.

Written by Manish

June 22, 2013 at 5:10 pm

Posted in .NET, .NET 4.0, ASP.NET

Tagged with ,

Change the method’s message name using WebMethodAttribute or change the type’s root element using the XmlRootAttribute."

with one comment

We have just received the error when we tried to return a type which contains Response behind it.

Like,

We have webmethod, UpdateStatus and we have following signature

Public Function UpdateStatus(….) as UpdateStatusResponse

But it gives us above exception when I try it using URL to access the service. Then after some debugging and googling, I found that, .NET uses internal class that uses UpdateStatusResponse. If I change the name to UpdateStatusResult and error gone Smile

Written by Manish

May 26, 2011 at 4:26 pm

http://thisdeveloperslife.com/

with one comment

Just going through Subsonic blog and got my eye on Rob’s current work. It’s worth looking Videos about today’s developers life Smile

http://thisdeveloperslife.com/

Written by Manish

May 18, 2011 at 11:38 pm

Posted in .NET, .NET 3.0

Tagged with , , ,

Subsonic Migration from 1.0.3 to 3.0 has issues with Performance

leave a comment »

We have worked with subsonic from around last 4 years and I am very much impressed with how it started. It’s really easy to understand, easy to generate and easy to implement subsonic ORM. So we started using it every project in our company.

But one of our client needs upgrades from 1.0.3 to 3.0 and we started the migration process. But at the end of this process we end up cancelling the Migration and do it from 1.0.3 to 2.2.

The main issue was when we see it in profiler was the linq query creation and execution was taking more time. One of our functions when converted was 3x slower. I don’t know but it seems the development of Subsonic after Rob left might be stuck somewhere or going slow. And I searched in stackoverflow and lot of guys have this issue regarding performance with Subsonic.

I believe Subsonic is great tool and ORM but due to the fact that we could not use 3.0 and LINQ for the new projects, we might need to search something relatively near to Subsonic in implementation. Might be it’s time to try NHibernate Smile. Or try to join the SubSonic team Winking smile.

Written by Manish

May 18, 2011 at 11:32 pm

Posted in .NET, .NET 3.0

Tagged with , , , ,

Good article about scraping the website

leave a comment »

Written by Manish

April 3, 2011 at 3:52 pm

System.BadImageFormatException: Could not load file or assembly ‘WatiN.Core,

leave a comment »

You might be using 32bit dll on 64bit machine. You can change project settings to compile it for specific target platform.

Written by Manish

March 4, 2011 at 2:23 pm

could not load file or assembly ‘microsoft.practices.objectbuilder’ or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057)

leave a comment »

Cleared the temporary file and problem is resolved Smile

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\MyWebService

Written by Manish

February 23, 2011 at 7:36 pm