Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:290143
More Search Options
RSS Available
Matching Posts
Re: problem with localize buttons
Note the meta:resourceKey should be Button1Resource1 not Button1Resource1.Text.
Posted to
Localization
(Forum)
by
rstrahl
on 4/1/2009
Re: Output Empty byte[]
I think the best solution is to return not an empty byte array but rather a one pixel image or better yet a no image placeholder so it's perfectly clear to the user what's going on. A one byte 'byte array' still is an invalid image and so will fail. What you see as the URL most likely is the default alt image tag behavior. As the previous poster mentioned if you're returning an image content type the browser is expecting image content and will produce unpredictable results. Personally
Posted to
HttpHandlers and HttpModules
(Forum)
by
rstrahl
on 4/1/2009
Re: problem with localize buttons
What I'm saying is check the actual button and make sure the meta:resource key actually matches the "Button1Resource1.Text" id that you think you have *exactly*. Most likely it actually doesn't.
Posted to
Localization
(Forum)
by
rstrahl
on 4/1/2009
Re: Application Level and Thread Level CurrentUICulture
If you manually override the culture you have to make sure you do it early enough in the handler cycle. If you're using an ASP.NET Page class then InitializeCulture is the place to do it. Alernately you can also set the culture explcitly anytime before the handler is called in the ASP.NET HttpApplication Pipeline. The latter is the easiest if you want to do it globally for every page that is processed rather than having to do this on every page (or a Page subclass) individually). I tend to do
Posted to
Localization
(Forum)
by
rstrahl
on 3/31/2009
Re: HttpContext.Current.Session in Custom HTTP Handler
Are you implementating IRequiresSessionState on your handler? It's required in order have full access to session state. I believe read access works without but updates require this interface. http://msdn.microsoft.com/en-us/library/system.web.sessionstate.irequiressessionstate.aspx +++ Rick ---
Posted to
HttpHandlers and HttpModules
(Forum)
by
rstrahl
on 3/31/2009
Re: HttpRequests and Shared / Static properties
ANY static property is shared within the same AppDomain. It doesn't matter wheter you create the static property on HttpApplication or any other object. In fact, in my apps I typically have App class off which I hang all my configuration and cached values like App.Configuration, App.StateLookupList etc. etc. +++ Rick ---
Posted to
Architecture
(Forum)
by
rstrahl
on 3/28/2009
Re: thread or queue
Define fast in this context. What are you worried about? Performance, load on the server, timing and latency? If you're running a task occasionally and the task is lenghty it probably doesn't make much of a difference. Spinning up a new thread is definitely easier and probably the best choice if there aren't a huge number of threads.Queing requires making sure you got your locking and scheduling strategy down and it can take a bit of effort to make this work right. I would lean towards
Posted to
Architecture
(Forum)
by
rstrahl
on 3/28/2009
Re: Display a real time alert message on website - need ideas
I've done what the other poster mentioned and it works fairly well if you don't mind polling the server. A couple of months ago there was also an article in MSDN magazine on using Silverlight with a persistent TCP/IP connection to do push model messages. If your app is internal and non-port 80 communications are a possibility this might be interesting as it would allow the server to push messages to you. http://msdn.microsoft.com/en-us/magazine/2009.01.entslpt1.aspx This isn't exactly
Posted to
Architecture
(Forum)
by
rstrahl
on 3/28/2009
Re: JSON RPC
You can use ASP.NET Ajax with either ASMX Web Services or WCF's REST features (.NET 3.5). There are also a host of alternate tools available that do something similar without using ASP.NET AJAX. I wrote an article some time ago of using jQuery on the client with ASP.NET services: http://www.west-wind.com/presentations/jQuery/jQueryPart2.aspx Hope this helps or at least points you in the right direction. +++ Rick ---
Posted to
HttpHandlers and HttpModules
(Forum)
by
rstrahl
on 3/28/2009
Re: httphandler polling
One way to do this is via AJAX. You can accept the upload as you are doing now (if it's not taking too long - otherwise you'd want this done via AJAX as well). Return from the call and hten immediately upon return fire another request from the client side page that polls to see if the request is done and repeat every few seconds (or however frequently). This way you're not tying up a server thread permanently and you can just poll the data base within the callback handler on the server
Posted to
HttpHandlers and HttpModules
(Forum)
by
rstrahl
on 3/28/2009
Page 1 of 28 (276 items) 1
2
3
4
5
Next >
...
Last ยป
WindowsClient:
codeplex.com/testapi v 0.4 available
ASP.NET:
ASP.NET 4.0 ScriptManager Improvements
WindowsClient:
XAML Toolkit CTP = FxCopXaml + XamlDom + System.Xaml.dll support for Silverlight XAML
Channel 9:
Fishbowl for Facebook
WindowsClient:
Free Embeddable Fonts for your WPF Applications
ASP.NET:
Program Manager Position on the ASP.NET PM team
Channel 10:
Microsoft Teams Up with Nielsen
Channel 10:
What Azure Looks Like
ASP.NET:
Orchard team looking for a new developer
Channel 10:
Student Discount on Office 2008 for Mac Now Available
WindowsClient:
Surface SDK 1.0 SP1 supports XNA Game Studio 3.0 and later
WindowsClient:
TestAPI 0.4 Released
Channel 9:
Using the SharePoint Business Data Connectivity Designer in VS 2010
Channel 9:
10-4 Episode 36: Windows Server AppFabric and Workflow Services Lab
WindowsClient:
New WPF Features: DatePicker\Calendar\VSM\Datagrid
Channel 9:
Corrinne Yu: Principal Engine Architect, Halo Team Microsoft
TechNet Edge:
IT Pro Momentum y Evidencias
Channel 10:
Xbox Goes Social with Facebook, Twitter, and Zune Integration
ASP.NET:
Enabling the ASP.NET Ajax script loader for your own scripts
ASP.NET:
Building High Performance Web Applications
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online