Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

HttpContext.Current.User.Identity.Name.ToString() is empty. Please Help
Cassini2010
#1 Posted : Thursday, November 11, 2010 3:56:27 PM(UTC)
Groups: Member
Joined: 11/11/2010(UTC)
Posts: 2

Hi there,

I am new to the Cassini Web Server. I have a ASP.NET application which has the following code


string name = HttpContext.Current.User.Identity.Name.ToString();

Works fine when hosted on IIS Web server does not work when hosted on Cassini Web Server. I am not sure what I need to do to get the HttpContext.Current.User.Identity.Name information when hosted on Cassini.


Help will be appreciated.

Thanks
Ultidev Team
#2 Posted : Thursday, November 11, 2010 4:25:01 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi,

HttpContext.Current.User returns information for authenticated user. Which form of authentication does your application use? Current version of Cassini supports only Forms auth. Upcoming UltiDev Web Server Pro will add support of Windows/Integrated, Basic and Digest.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Cassini2010
#3 Posted : Friday, November 12, 2010 1:28:38 AM(UTC)
Groups: Member
Joined: 11/11/2010(UTC)
Posts: 2

Thanks for replying. I am using Windows.


<system.web>
<authentication mode="Windows" />
</system.web>
Ultidev Team
#4 Posted : Friday, November 12, 2010 4:24:14 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello!

Unfortunately Windows authentication is not supported in UltiDev Cassini. Upcoming UltiDev Web Server Pro will have this feature. Meanwhile only Forms authentication is going to work. We apologize for the inconvenience.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
JohnMcNamara
#5 Posted : Wednesday, December 1, 2010 12:26:31 AM(UTC)
Groups: Member
Joined: 11/30/2010(UTC)
Posts: 3
Location: Ireland

Hi Ultidev Team,

Do you have a release date (and pricing) for UltoDev Web Server Pro? Windows Authentication is a requirement for our currnet project.

Thanks so much for Cassini btw, we love it.

Kind Regards,
John
Ultidev Team
#6 Posted : Wednesday, December 1, 2010 4:31:42 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, John!

Thank you much for the positive feedback. UltiDev Web Server Pro will be free of charge. We are working very hard to get the first Beta out of the door before the of the month, but it's very tight. However, we are very close to the finish and it's weeks, not months before we release it. We hope to release two betas in fast succession and do a final GA release in Jan.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
JohnMcNamara
#7 Posted : Wednesday, December 1, 2010 4:41:17 AM(UTC)
Groups: Member
Joined: 11/30/2010(UTC)
Posts: 3
Location: Ireland

Hi UtilDev Team,

If you want us to test the windows authentication part of an early beta, we'd be delighted to.

It would save me changing loads of code in my application so it might work out for both of us.

Let me know, we'd be delighted to help.

John
Ultidev Team
#8 Posted : Wednesday, December 1, 2010 5:03:01 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
John,

We'll get the earliest Beta to you as soon as we have something installable. At this point applications can be registered with UltiDev Web Server Pro only with a command line utility or programmatically (.NET or COM), but not interactively with UI. Also, installer is not ready yet. However, we work on this and make significant progress. We are sure the product will be much better than before, especially if we manage to keep it as reliable as previous one.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
JohnMcNamara
#9 Posted : Wednesday, December 1, 2010 6:14:37 AM(UTC)
Groups: Member
Joined: 11/30/2010(UTC)
Posts: 3
Location: Ireland

Hi UltiDev Team,

Thanks so much Guys. Looking forward to the release.

Kind Regards,
John
Ultidev Team
#10 Posted : Thursday, December 2, 2010 12:35:18 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Follow us on Twitter.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (8)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.