Click here to Skip to main content
15,884,176 members

Comments by ranio (Top 76 by date)

ranio 25-Oct-21 5:47am View    
will below Regex Pattern works for the Password to contain at least one number;
at least one "special character and length of 7
(?=.*)(?=.*)(?=.*\d)(?=.*[^\w\s])^.{7,}$
ranio 22-Sep-21 9:30am View    
That worked.I need to get the node exists in the above xml string without looping.
Tried
XmlNode nodeToFind;
XmlDocument doc = new XmlDocument();
doc.LoadXml(result);

// Selects all the title elements that have an attribute named lang

XmlElement root = doc.DocumentElement;
nodeToFind = root.SelectSingleNode("//OverDueStatus");
if (nodeToFind != null)
{

}
ranio 16-Sep-21 5:40am View    
I updated with https binding but i am getting 500 internal error . so what can i do
<system.servicemodel>
<services>
<service name="DDSWebService.DDS_IDAM" behaviorconfiguration="ServiceBehaviour">
<endpoint address="" binding="webHttpBinding" contract="DDSWebService.IDDS_IDAM" behaviorconfiguration="web">
<host>
<baseaddresses>
<add baseaddress="http://localhost/">




<bindings>
<basichttpbinding>
<binding name="BasicHttpBinding_IService" closetimeout="00:01:00" opentimeout="00:01:00" receivetimeout="00:10:00" sendtimeout="00:01:00" allowcookies="false" bypassproxyonlocal="false" hostnamecomparisonmode="StrongWildcard" maxbuffersize="65536" maxbufferpoolsize="524288" maxreceivedmessagesize="65536" messageencoding="Text" textencoding="utf-8" transfermode="Buffered" usedefaultwebproxy="true">
<readerquotas maxdepth="32" maxstringcontentlength="8192" maxarraylength="16384" maxbytesperread="4096" maxnametablecharcount="16384">
<security mode="None">
<transport clientcredentialtype="None" proxycredentialtype="None" realm=""> <message clientcredentialtype="UserName" algorithmsuite="Default">




<client>
<endpoint address="http://localhost:58685/BankPortalService.svc" binding="basicHttpBinding" bindingconfiguration="BasicHttpBinding_IService" contract="BankPortalService.IService" name="BasicHttpBinding_IService">

<behaviors>
<servicebehaviors>
<behavior name="ServiceBehaviour">

<servicemetadata httpsgetenabled="true">

<servicedebug includeexceptiondetailinfaults="true">


<endpointbehaviors>
<behavior name="web">
<webhttp>



<protocolmapping>
<add binding="webHttpBinding" scheme="https">

<servicehostingenvironment aspnetcompatibilityenabled="false" multiplesitebindingsenabled="true">
ranio 2-Jun-21 6:14am View    
In this I am getting the entire inner text containing above date 2020102
just want the inner text of overduestatus node (NAB) in this Xml
ranio 1-Jun-21 2:18am View    
that works but how to take the overduestatus node value for that Due Month value