Hi Guys, Currently when client is logged in to my system, the user's session is bound to some server (lets say there are 4 instances of the same server on 4 PCs) and is handled only on this server. I'm going to put servers into cluster with distributed cache where user sessions will be stored and be accessible from each of these servers. There is a problem, I dont know which distributed cache product to use (i need exactly .NET solution), I found something about memchached, microsoft's AppFabric, etc.. But everything is very superficial (or i'm bad googleman :-) ), could someone advice something? what is the best in the performance? maybe there is some good comparative analysis topic, etc? 10x in advance, Pavel
IWannaTalk
Posts
-
distributed cache for .NET system -
logs window with a lot of linesok, i'll try, but i'm really not sure that this implementation will be faster than listview virtual mode...
ISQ 469907496
-
logs window with a lot of linesthanks, but i need multi-column control... so, listbox will not be helpfull
ISQ 469907496
-
logs window with a lot of lineshi all! i need c# control for tracing logs that can contain a lot of lines and be quick to scroll and to draw like in the application "registry monitor", "file monitor" or output window in VS, etc... i tried to make virtual list in the list view, but it didn't help. :( may be i did something wrong... could you please help me? may be you know how to implement or some links in the internet with the ideas or implementations? thanks, Pavel
ISQ 469907496
-
smart logger windowthx!
ISQ 469907496
-
smart logger windowhi all! i need to develop application that have many simultaneously ran tasks. each task have its own logger file and prints log info in to some window control. i've tried to investigate how to log this data to UI window but found out nothing. i need some multiline listbox or textbox that can contain a lot of strings and be fast like VS output window(text box) or microsoft spy(listbox). i think that containing of all log lines in UI window is not a good idea... may be it would be better to write all log data only to log file and in to UI window print lines depending on scroll-bar position reading them from log-file? what do u think about this? may be u had the same problem and can recommend me better solution? 10x!
ISQ 469907496
-
SSOIt still remain valid! :))
ISQ 469907496
-
SSOHello! Some applications uses SSO(Single Sign On). For example, Lotus Notes, Source Safe and atc. I have found some material, but i don't know is there some standart classes for implementing such systems like in applications mentioned before? I have a program. And i wanna modify it - add SSO supporting (user once input his login and pass and for the next time application runs without requesting authentication data but take it using user accaunt in OS). What may i do? Help, please... :)
ISQ 469907496
-
WindowsThanks, but i've done that!!!!! It's so easy... :-D
ISQ 469907496
-
Windowsok but how can i do that? Because i learning wpf only 4 days :)) and i not a proffesional in it :)) Or if you can write some references with this....
ISQ 469907496
-
WindowsI have two window classes(2 cs files and 2 xaml). One of this windows is audio player. And i wanna insert one window(for example audio player) into some element of other window. How can i implement this?
ISQ 469907496
-
WindowsCan i add window element into other window using xaml?
ISQ 469907496
-
Tree view// FYI: The control template you need is nested inside the TreeViewItem and is actually a style for a ToggleButton. This is that! Thanks! I just didn't know what reply for this!
ISQ 469907496
-
Tree viewHow can i clear out arrows in tree view in expanded elements? Because shows arrows and text, but i wanna show only text.... Help, plz... :)
ISQ 469907496
-
VTBLi have write answer for my question above... see third reply... :) i am ashamed of myself.... :)
ISQ 469907496
-
VTBLactually it was shortly sample...
ISQ 469907496
-
VTBLha, ha i so stuped!!! :) i forgot to do new B!!! :) i work to long... overwork oneself :) :) :) sory for this mes... :)
ISQ 469907496
-
VTBLI will try to write question shortly :) struct CEvents { virtual HRESULT Method1() = 0; virtual HRESULT Method2() = 0; virtual HRESULT Method3() = 0; }; class A : public CEvents { // Implementation of VTBL methods virtual HRESULT Method1(); virtual HRESULT Method2(); virtual HRESULT Method3(); HRESULT Some(); B *m_B; }; HRESULT Some() { m_b->Initialize( (CEvents*)this ); return S_OK; } class B { CEvents *m_evs; HRESULT Initialize( CEvents *evs ); } HRESULT B::Initialize( CEvents *evs ) { ///////////////////// THIS IS MY QUESTION ///////////////// // This i have trouble... access violation and ect.... // But when i use not pointer to class B as member of A ( B *m_B; ) // there is no any problems - PLEASE, TOLD ME, WHY?????????????? m_evs = evs; return S_OK; }
ISQ 469907496
-
Get ProgID or CLSID if i have only pointer to some IDispatch interfaceIt's you sorry me, maybe i said somthing wrong? because i dont know english perfect - my grammar is bad :) I'm know perfect what is mean "IDispatch" :)))) I don't understand your question, what you whant to tolk with this words about DDL's - what's problem with DDL's?????? I was not read you last sentence :) sory :) .... It's a component for SDK - it save program settings to XML file and one of parameters can to be an interface and i put into XML properties of this object and want to put ProgID for in future create object using this ProgID. Now i have this code and it work without some p'roblems, but if some other compiler, VisualBasic for example, generate type lib with another way.... it will not be working..... Where m_spObj - its smart pointer CCOmPtr, for example... :) CComPtr spTypeInfo; UINT uiCount = 0; GUID guidOfInterface; hr = m_spObj->GetTypeInfo( 100, LOCALE_SYSTEM_DEFAULT, &spTypeInfo ); TYPEATTR *pattr1 = NULL; hr = spTypeInfo->GetTypeAttr( &pattr1 ); guidOfInterface = pattr1->guid; CComPtr< ITypeLib > spTypeLib; hr = spTypeInfo->GetContainingTypeLib( &spTypeLib, &uiCount ); uiCount = spTypeLib->GetTypeInfoCount(); CLSID clsidOfCoclass; for( UINT i = 0; i < uiCount; i++ ) { CComPtr< ITypeInfo > spTI; hr = spTypeLib->GetTypeInfo( i, &spTI ); TYPEATTR *pattr = NULL; hr = spTI->GetTypeAttr( &pattr ); if( pattr->typekind == TKIND_COCLASS ) { clsidOfCoclass = pattr->guid; } if( pattr->typekind == TKIND_DISPATCH ) { if( guidOfInterface == pattr->guid ) { CComBSTR bsCLSID; ProgIDFromCLSID( clsidOfCoclass, &bsCLSID ); m_bsProgIDName = bsCLSID.Detach(); spTI.Release(); spTypeLib.Release(); spTypeInfo.Release(); return S_OK; } } spTI.Release(); } spTypeLib.Release(); spTypeInfo.Release(); return hr;
ISQ 469907496
-
Get ProgID or CLSID if i have only pointer to some IDispatch interface/*What about COM DLLs that support only DispInterface? */ What you mean??
ISQ 469907496