Posts

iis 7 - Which is the best option to host a nettcp WCF service -

I have a nettcp service that I want to host I have three options - IIS 7 Windows service a console application If someone can give me some valuable ideas then I would be grateful, on which one option is better than the other. Here are some comments for me: IIS 7: WAS: Any dependence on IIS All protocol-supported / Li> Not all shared hosting environments will support non-HT protocol binding or unusual port numbers. More complex configurations Windows service: Prof. OS: Windows starts at startup You can start / stop service through service control manager All protocols supported Some additional steps for deployment / redemption (installutil) You need some extra boilerplate code to support the service implementation Not ideal if you have The server does not have access to the server (eg Console Application: Professionals: Fast and easy to deploy for testing All protocols supported Cons: To b...

css - Change Color of PNG Image on hover? -

I added these symbols to my site and wanted to change colors on the hover ... what is the best solution? Icons are in png format and want to change the hover to your blue colors ... Thanks in advance. You should generate new blue images with your editor (which you created earlier icons), Then you use CSS

html - Insert text between a rectangle drawn in SVG -

मेरे पास एसवीजी में एक कोड है: & lt; svg width = "100%" ऊंचाई = "100%" संस्करण = "1.1" xmlns = "http://www.w3.org/2000/svg" & gt; & Lt; rect x = "20" y = "20" चौड़ाई = "250" ऊंचाई = "250" शैली = "भरें: नीला" & gt; & Lt; attributeType = "CSS" विशेषता = नाम = "अस्पष्टता" = "1" से = "0" dur = "5s" दोहराए जाने की संख्या = "अनिश्चित" / & gt; & Lt; / रेक्ट & gt; & Lt; / svg & gt; अब मुझे इस आयताकार के बीच एक टेक्स्ट जोड़ना होगा। क्या कोई मुझे बता सकता है कि यह कैसे करना है? मुझे यकीन नहीं है कि आप "बीच" से क्या मतलब है यदि आप "क्षैतिज और अनुलंब रूप से केन्द्रित" हैं, तो यह ऐसा करेगा: & lt; svg width = "100%" height = "100%" संस्करण = "1.1" xmlns = "http : //www.w3.org/2000/svg "& gt; & Lt; rect x = "20" y...

php in body -- missing something obvious -

My PHP is not PHPing, so tested simple ... something should be clear & lt; Html & gt; & Lt; Top & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt ;? Php echo '& lt; Script language = \ "javascript \" & gt; Confirm ("are you seeing this?") & Lt; / Script & gt ;; '; ? & Gt; & Lt; / Body & gt; & Lt; / Html & gt; In the code body, I get: Confirm ("Are you seeing this?"); '; ? & Gt; When I see "Source", I see: & lt; Html & gt; & Lt; Top & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt ;? Php echo '& lt; Script language = \ "javascript \" & gt; Confirm ("are you seeing this?") & Lt; / Script & gt ;; '; ? & Gt; & Lt; / Body & gt; & Lt; / Html & gt; What is the extension of your file? Running a webserver? How are you calling your php script? Make su...

ruby on rails - Why is Heroku installing rspec? -

यह मेरी जेमफ़ाइल में है: source 'http: // rubygems .org 'मणि' रेल ',' 3.0.5 'मणि' sqlite3 'मणि' hoptoad_notifier ',' = 2.4.2 'समूह: विकास, परीक्षण मणि रब्बी-डिबग मणि "कारखाने _ गेल_रेल्स" मणि "डेटाबेस_क्लायनर" मणि "आरएसपीईसी-रेल" मणि "काकड़ी-रेल" मणि "कैपिबारा" मणि "लॉन्सी" मणि "रेडग्रीन" मणि "फेंकर" मणि "उल्लेखनीय_एक्टिवकॉर्ड" एंड जब मैं करता हूं मेरे स्क्रीन पर यह है कि मैं देख रहा हूँ स्थापित कर रहा है rspec-core (2.5.1) rspec अधिष्ठापन -expectations (2.5.0) rspec-mocks अधिष्ठापन (2.5.0) rspec स्थापित करना (2.5.0) मैंने सोचा था कि हेरोको उत्पादन मोड में स्थापित है, तो क्यों आरएसपीसी स्थापित किया जा रहा है? ऐसा इसलिए है क्योंकि डिफ़ॉल्ट रूप से सभी समूह इंस्टॉल किए जाते हैं। कुछ समूहों को नजरअंदाज करने के लिए हेरोकुसे को बताने के लिए, heroku config: BUNDLE_WITHOUT = "विकास: परीक्षण" जोड़ें आप अगर चाहें, तो ...

PriorityQueue containing "Pairs" in reverse numerical order Java -

I am trying to create a preference that holds its elements behind the natural order (integer pairs) But we have found serious tips, but in every case it has given the same wrong order. priority question & lt; Pair & gt; Pq = New Priority Question (4, New Comparative & Lt; Pair & gt; () {Comparison of Public Entry (pair A1, pair A2) {return a2.value.compareTo (a1.value);}}); Pq.add (new pair (1,15)); Pq.add (new pair (2,58)); Pq.add (new pair (3,55)); Pq.add (new pair (723)); Iterator & LT; Pair & gt; This = pq.iterator (); While (this hasNext ()) {System.out.println (it.next (). Value); } There is a pair class applies public class jury Comparable {public Integer Name; Public integer value; Public pair (int name, int value) {this.name = name; This.value = value; } Public int getname () {return name; } Public receipt value () {return value; } Comparison of public int (pair o1, pair o2) {pair 1 = (pair) o 1; Pair A2 = (pair) O2; If (a1.value ...

c# - COM Add-in not going away in word 2007 -

Then Ive got two separate COM addins, for a 2k3 word and for a 2k7 word 2k3 every work like a charity Does not have any problems etc ... but now when I open the word 2k7, buttons from 2k3 appear in my 2k7 ribbon, it still happens after disabling my addin or clearing my project. I have had problems with removing all the DLS for my 2k3 addin, but the problem still persists ... Having problems? Cheers If you make a point of configuring those buttons A template apart from the template. When you install, they will automatically "go away" Normally, it is considered poor practice to make changes in Normal.dot, but many people do not know that unless you set your "CustomizationContext" before you create your buttons and toolbars "Property word, it's okay to modify what you are doing in general. After you and your changes, you will uninstall your addin.