-

 - e-mail

 

 -

   Flashr

 -

 LiveInternet.ru:
: 26.02.2007
:
:
: 6574

:

(0)

Windows Azure

, 28 2011 . 12:36 +
Windows Azure . , - . , , - . , 1) 2) Exchange .

, , SSL 587 . ,
Copy Source | Copy HTML
  1. var client = new SmtpClient(props["SmtpServer"])
  2.                              {
  3.                                  DeliveryMethod = SmtpDeliveryMethod.Network,
  4.                                  Credentials = new NetworkCredential(props["SmtpLogin"], props["SmtpPwd"]),
  5.                                  Port = int.Parse(props["SmtpPort"]),
  6.                                  EnableSsl = true,
  7.                              };
  8.  
  9.             what = what + @"
     ,   " + props["HostAddress"];
  10.  
  11.             try
  12.             {
  13. #if !DEBUG
  14.                 client.Send(props["SmtpLogin"],
  15.                     to,
  16.                     "Subj",
  17.                     string.Format(what, pars));
  18. #endif
  19.             }
  20.             catch (SmtpFailedRecipientsException)
  21.             {
  22.  
  23.             }



Copy Source | Copy HTML
  1. <add key="SmtpServer" value="smtp.gmail.com" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
  2. <add key="SmtpLogin" value="mail@gmail.com" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
  3. <add key="SmtpPwd" value="password" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
  4. <add key="SmtpPort" value="587" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />

, , native -

PS: Azure .

:  
(0)

WCF Proxy tunnel

, 15 2011 . 16:37 +
WCF , wcf tunneling, gotdotnet.ru. Castle.DynamicProxy - . , -.
, . FuncName object _DataTransfer(HeaderAuthen auth, object ServiceLink, object FuncName, object[] param); ServiceLink, . . Biztalk soap . HeaderAuthen auth.
DynamicServiceProxy ServiceChannelManagerInterceptor, , ServiceChannelManager. , , - , _DataTransfer, , KnownTypeContainer. XmlSerializerFormat, WCF DataContractSerializer, object. , - . XmlSerializerFormat , , , DataSet , ArrayList. , .

:  
(0)

Windows Azure for free

, 01 2011 . 17:31 +
Windows Azure , . .

, , , . - azure.softline.ru, , .

Windows Azure, 5 , , . - .

:  
(0)

, 22 2011 . 15:54 +
. , , - @OutputCache, . , memcache FrontEnd' .

, asp.net , :
...

:  
(0)

asp.net optimization

, 19 2011 . 11:45 +
Mad'a Mix11 , . asp.net YSLOW PageSpeed 100. , , Expired. , . , CDN , .

:  
(0)

, 05 2011 . 23:57 +
. , .



WTF Code.




- .


:  
(0)

Microsoft.Office.Interop

, 09 2011 . 18:07 +
, , , . MS Office 2007 - - Office.Interop. , , .
  • -, . . (RDP).
  • Reference, , : Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 - DCOMCNFG, NetworkServices MicrosoftOffice(Word/Excel) ApplicationPool.
  • , (0x800A03EC): Microsoft Office cannot open or save any more documents because there is not enough available memory or disk -
    C:\Windows\SysWOW64\config\systemprofile\Desktop ( x64) C:\Windows\System32\config\systemprofile\Desktop ( x86)
    NetworkServices - systemprofile.
  • . (0x80028018): Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD)) http://support.microsoft.com/kb/320369 . COM
    System.Globalization.CultureInfo oldCI = System.Threading.Thread.CurrentThread.CurrentCulture; System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US"); // Office.Interop

, , win2003x64 IIS6 EN .

:  
(0)

OpenSource stories

, 08 2010 . 12:33 +
. , :
1) Lucene.Net - needs your help (or it will die) It got forked. , .Net , . , Apache Software Foundation , - , .
2) OpenSocial - , .Net , . - .
3) GoogleWave - , , , Apache Foundation . Apache Wave.

- ICQ , , .

:  
(0)

MSVS2010 + Resharper 5 + Hotkeys

, 30 2010 . 12:26 +
Visual Studio 2010, - . Resharper 5 ( - yandex, dr.web ) . .

:  
(0)

json for .net

, 16 2010 . 23:50 +
JSON , JS , . JSON XML . newtonjson.dll, .Net . cursor["leafname"].Value();. , .

JSON .Net AJAX API - blogsapi

PS: , .

:  
(5)

Twitter OAuth 2.0 by login-password

, 02 2010 . 16:22 +
OAuth, . OAuthUtility, blogsapi.

. , , (tokens.ConsumerKey,tokens.ConsumerSecret). (response.Token), (OAuthUtility.BuildAuthorizationUri(response.Token)) . , , , , authenticity_token. , PIN, , . , . OAuthUtility.GetAccessToken, . , .

, , 4 , 2 . - , , , . , , -, .

, , :


"" .
...

:  
(0)

Barrier .Net 4

, 26 2010 . 12:16 +
.Net 4 .

:  
(0)

IIS7 perfomance

, 08 2010 . 15:52 +
IIS6 7- . , 7 6. iis7 - , url_rewrite , , .
, - , win2008, iis7, . , 7 . , 64- , iis6, . - .
, 11 , . .

:  
(0)

Facebook continue

, 06 2010 . 15:18 +
, . , , . - , Facebook 10 RSS, . RSS, . ( BlogsAPI)
...

:  
(2)

deep-water.ru

, 05 2010 . 19:51 +
deep-water.ru . , . , . topbloger.ru , . 4 . .

:  
(0)

Serialization.XmlChoiceIdentifierAttribute

, 22 2010 . 14:30 +
, SOAP , . , , , , . WCF, :
...

:  
(0)

.Net Copy Protection

, 27 2010 . 01:38 +
, , , , , , . , - , , -, , . , , , , , .

, .Net , , , - DeployLX. , 200.., 1000.. 200.. , , . 1000.. - . , . , Vista, w7, w2k8, winXP. 32 , . , redistributable Any CPU.
...

:  
(0)

Tr.im RIP

, 25 2010 . 13:48 +
- Tr.im. , Bit.ly, . BlogsAPI, :

Copy Source | Copy HTML
  1. [TestFixture]
  2. public class Shorteners
  3. {
  4.     private void RunTest(Shortener oServer)
  5.     {
  6.         String sRet = oServer.ConvertDataTo("http://s-c.me", ItemType.FullUrl, ItemType.ShortUrl);
  7.         Assert.AreEqual(false,String.IsNullOrEmpty(sRet));
  8.         Debug.WriteLine("Returns: " + sRet);
  9.         sRet = oServer.ConvertDataTo(sRet, ItemType.ShortUrl, ItemType.FullUrl);
  10.         if(!String.IsNullOrEmpty(sRet))
  11.         {
  12.             Debug.WriteLine("BackTrace: "+sRet);
  13.         }
  14.     }
  15.  
  16.     [Test]
  17.     public void Bitly()
  18.     {
  19.         RunTest(new BitLy());
  20.     }
  21.  
  22.     [Test]
  23.     public void Cligs()
  24.     {
  25.         RunTest(new Cligs());
  26.     }
  27.  
  28.  
  29.     [Test]
  30.     public void Isgd()
  31.     {
  32.         RunTest(new Isgd());
  33.     }
  34. }

:  
(0)

icom - part 2

, 05 2010 . 16:24 +
I-community2010.ru . . : " -" , ., . , . , .
, , " ", . , .

#ded 'ka, , , , . , , . , , 600 10 . . , , - .

, , , , , , , , - . , , .

:  
(0)

CSS HighLight at s-c.me

, 30 2010 . 15:06 +
, - - CSS html . SourceCode for Me. .
...

:  
(1)

ie6 - never die - html

, 28 2009 . 11:40 +
, , , , - Internet Explorer'e 6. , . , ie6:


:


?

:  
(0)

, 24 2009 . 12:16 +
win-. - CRL Profiler. , . . memprofiler, 14 , . . , ?

. , .

:  
(4)

Source Code Highlight

, 13 2009 . 22:00 +
, , s-c.me - . . , , :
Copy Source | Copy HTML
get
            {
                return @"@(?:"".*?"")+|"".*?(?<![^\\](?:\\\\)*?\\)""|''|'.*?(?<![^\\](?:\\\\)*\\)'|\b\d+?(?=\b|$)%?||.*?(?!\\).";
            }

, , . , .
: ... , 800 .me - ...

:  
(0)

- 5 ( )

, 30 2009 . 16:45 +
, , , . " ", . , 30.



. , , , . package :
...

:  
(0)

Go Code

, 14 2009 . 03:55 +
"Go Code" , Google. -, -, . -, , " Yahoo YO! YA!". , , GoogleWave, , , AppStore, , GoogleWave. , , , . OpenSocial , - , , . , , , GoogleWave .

:  
(0)

Url Shorteners API

, 23 2009 . 00:56 +
BlogsAPI( , ) Bit.ly API. , . . :

Copy Source | Copy HTML
  1. [TestFixture]
  2. public class Shorteners
  3. {
  4.     [Test]
  5.     public void Bitly()
  6.     {
  7.         BitLy shortener = new BitLy();
  8.         String sRet = shortener.ConvertDataTo("http://s-c.me", ItemType.FullUrl, ItemType.ShortUrl);
  9.         Assert.AreEqual(false,String.IsNullOrEmpty(sRet));
  10.     }
  11. }

:  
(0)

Capitalize first symbol of each word

, 15 2009 . 14:19 +
.Net, , , , Java. :
Copy Source | Copy HTML
  1. using System.Globalization;
  2.  
  3. string capitalized = CultureInfo.CurrentCulture.TextInfo.ToTitleCase("asp.net simply rocks!!!");
  4. //yelds "Asp.Net Simply Rocks!!!" 

:  
(0)

BlogsAPI published-FOAF-parser

, 10 2009 . 21:05 +
BlogsAPI . , , , .Net.
- , .

, FOAF :

...

:  
(0)

Regex for String

, 17 2009 . 18:20 +
Source Code for Me. - (\\"). . - . :
Copy Source | Copy HTML
  1. Regex rString = new Regex(@"@?""""|@?"".*?((?!\\).|(?:\\\\)+)""|''|'.*?(?!\\).'|\b\d+?(?=\b|$)%?||.*?(?!\\).");

:  
(0)

Open or Close project's code

, 15 2009 . 14:11 +
open source , . , , , . , Linux " " 30%. .
, , "" open source , . , - , - .
30%:
1) - , open source , , , , .
2) - , open source , , , .
3) - " " , .
4) - . 5) - , , .., .

:  

 : [2] 1