Discover SharePoint Web Services methods and parameters and feel nostalgic about it

This is not the first time that a customer has an issue with SharePoint Web Services “. asmx” and InfoPath Forms that I need to quickly spot and fix. Of course SharePoint Web Services work as a charm, but sometimes the problem comes more to InfoPath forms how they consume the services SOAP response and request headers. Yes, I’ve said InfoPath. A lot of customers still work and use InfoPath forms, they created and automated HR or IT process using these wonderful technologies and we, support engineers need to support. A lot of customers still have a dependency on InfoPath.

Today I want to share a resource that is not the first time that help me identify the problem and that is .NET Web Service Studio, this application is a .NET client application that you can use to discover the Methods of a web service and review the SOAP request and response parameter.

Very handy to start understanding a web service. So because this is like the third time I’ve used these tools to start supporting an InfoPath Form here you have it:

Just go to WebServiceStudio a codeplex, hit Download and enjoy the ride. There is some nostalgic feeling working and using the tool.

Just look the icons, don't you feel little nostalgia?

Just look the icons, don’t you feel little nostalgia?

I bought a keyboard..

on eBay.. a Logitech K800.. nice.

Unfortunately, the vendor did NOT state that the keyboards were ‘Brazilian’, and I assumed that the keyboard would be ‘US’ language’

I don’t want a Brazilian keyboard, and the vendor suggested that I send it back, but they could not send a US keyboard out because they didn’t have any. I was sent a printable, shipping paid label. Trouble is that I live in Canada and the label is only good for USPS, and it may cost me almost half what I paid for the keyboard.

The company also offered a rebate of 30% which I think I will take. It still leaves me with a keyboard which I really do not want, and I am not going to be able to sell it on too easily.

If I pursue getting a K800, it will eventually cost me the same or maybe even more than if I had gone to a local computer store in the first place.

There are times when buying on the Internet is like crossing a minefield, and right now, I am in the middle of one..

Surfing is not much fun..

.. especially at a time when it should be.

I remember years ago when Internet pages were text only and it could be slow then,  but only because the modems in use were painfully slow. I have a gateway capable of 100mb, but with pages loaded down with adverts and other crap, sometimes I just get too frustrated to bother.

Some ads open almost full screen and the only way to close them is to shut the host site down. Ha, and you think that I am going to buy ANYTHING from you for making me do that????

Web Advertisers need to learn some manners. They will eventually learn that many of us do NOT respond to bullying, finding alternative routes. I feel sure that some will go bust or lose interest in time, BUT in the meantime, surfing has lost some of its magic.

How to Create a Show Desktop Shortcut in Windows 10

Show desktop can be used to minimize and restore all of your open windows at once.

This tutorial will show you how to download or create a Show desktop shortcut for your account in Windows 10.

Read more…

How to Change Delay Time to Show Taskbar Thumbnails in Windows 10

When you hover over the icon or button on the taskbar of opened items, it will show either thumbnail previews or a list of the opened windows or tabs for that item.

The delay time value is the amount of time waiting before showing thumbnails or a list of an opened item (ex: File Explorer) when you hover over the item’s icon on the taskbar.

This tutorial will show you how to change the delay time to wait before showing taskbar thumbnails for your account in Windows 10.

Read more…

How to Change Threshold of Taskbar Thumbnails to Show List in Windows 10

When you hover over the icon or button on the taskbar of opened items, it will show either thumbnail previews or a list of the opened windows or tabs for that item.

The taskbar will only show thumbnails of so many opened windows or tabs for an item (ex: Internet Explorer) before the threshold is reached and will then automatically show a list afterwards for that item.

This tutorial will show you how to change the threshold after which taskbar thumbnails of opened items show as a list instead for your account in Windows 10.

Read more…

Deploy InfoPath Forms with UDCX files in multiple SharePoint farms

Probably you follow the best practices when building InfoPath Forms solutions. You know, there is a recommendation to use UDCX files a.k.a universal data connection files to describe the connection details of a data source. That is all good stuff, the point that I want to share today, is how to deal with InfoPath Forms that have data connection files that need to be deployed to a different farm like from DEV, QA, UAT and PROD farms.

Of course each farm as a different DNS, for example:

  • Development Box: http://myspdevbox1
  • Test Farm: http://preportal.mycompany.com
  • Production Farm: http://portal.mycompany.com

So, my InfoPath form in development will have a reference to the UDCX file pointing to DNS: http://myspdevbox1 and to site collection like /sites/IT, the Site Collection part is relative, that mean that as long every farm has the same path everything should work, but, of course every farm will not have the same DNS.

How we can change the Form Template to point to a different DNS and ensure it points to the right data connection files?

Here the steps:

  1. Open the form and select File – Publish, from the Export section, click Export Source Files, then save the form files in a folder
Export the form as Source Files

Export the form as Source Files

  1. Using Windows Explorer, navigate to the folder, look for manifest. xsn file and open with Notepad
Open manifest.xsn in Notepad

Open manifest.xsn in Notepad

  1. Find your existing DNS like http://preportal.mycompany.com and replace with the new farm DNS like http://portal.mycompany.com
Find and Replace in Notepad

Find and Replace in Notepad

  1. Replace all your DNS entries and save the file
  2. Open the manifest.xsn with InfoPath Designer and save the template with a proper name different from manifest.xsn
Open the manifest.xsn in design mode

Open the manifest.xsn in design mode

  1. Publish your new InfoPath form template to your new farm, you will notice that in the Publishing Wizard dialog box already will have the new DNS
  2. Now you can test.

Remember, you also need to edit your data connection files to point to the proper DNS and they need to be stored in the same relative path.

 

Spybot Search & Destroy Weekly Update – September 2, 2015

2015-09-02
Adware
++ Ad.InstallerPack
Malware
+ Win32.Symmi
PUPS
+ OpenCandy + Outbrowse ++ PU.InstalleRex
Trojan
++ Win32.Agentb.appn + Win32.Downloader.HicrazykA
Total: 2609907 fingerprints in 821045 rules for 7524 products.

http://www.safer-networking.org/about/updates/

Microsoft Security Bulletin Releases Issued: September 2, 2015

Summary

The following bulletins have undergone a major revision increment.

* MS15-081 – Critical

Bulletin Information:

MS15-081 – Critical

– Title: Vulnerabilities in Microsoft Office Could Allow Remote Code
Execution (3080790)
https://technet.microsoft.com/library/security/ms15-081
– Reason for Revision: V2.0 (September 2, 2015): Bulletin revised
to announce that the 3039798 update for Microsoft Office 2013
RT Service Pack 1 is available via Windows Update.
– Originally posted: August 11, 2015
– Updated: September 2, 2015
– Bulletin Severity Rating: Critical
– Version: 2.0

Keyboard Shortcuts List for Desktop in Windows 10

This tutorial will show you a list of shortcut keys that you can use from the desktop in Windows 10.

Read more…

How to Check if Windows 10 is Activated

Activation helps verify that Windows on your PC is genuine.

If you upgraded to the free offer of Windows 10, then you will be able to do a clean install of the free Windows 10 anytime you like if it is currently activated.

This tutorial will show you how to check if Windows 10 is currently activated or not activated on your PC.

Read more…

Removal instructions for Shop and Save Up

What is Shop and Save Up?

The Malwarebytes research team has determined that Shop and Save Up is a browser hijacker. These so-called “hijackers” manipulate your browser(s), for example to change your startpage or searchscopes, so that the affected browser visits their site or one of their choice. This one also displays advertisements.

https://forums.malwarebytes.org/index.php?%2Ftopic%2F172248-removal-instructions-for-shop-and-save-up%2F

Removal instructions for Desktop-play

What is Desktop-play?

The Malwarebytes research team has determined that Desktop-play is adware. These adware applications display advertisements not originating from the sites you are browsing.

https://forums.malwarebytes.org/index.php?%2Ftopic%2F172242-removal-instructions-for-desktop-play%2F

How to Turn On or Off Use Check Boxes to Select Items in Windows 10

You can use check boxes to make selecting multiple items in any order easier to do in File Explorer and on your desktop in Windows.

When check boxes is turned on, you can hover the pointer over each item to reveal the check box to be able to check (select) or uncheck (unselect) it.

This tutorial will show you how to turn on or off using check boxes to select files, folders, and drives in your user account in Windows 10.

Read more…

The Toshiba Netbook..

Yes, it still works, and yes, I am still pleased with it. However, it does have an issue that I never noticed before.

After a cold boot and before any major task is started, it appears to need ‘warming up’ time. The CPU LED flashes away like all hell for a good twenty minutes, while various maintenance utilities ply their trade.

I don’t mind because the Netbook isn’t capable of too much at the best of times, and presently it is walking with the Windows 10 crowd. At least I don’t have to wait for the latest builds to install. They took far longer. :-)

The other machines have more about them and do not have to warm up.

Anyway, a month on and everything is good here..

Windows 10.. the flickering screen..

OK, this is one cause for flickering screens after a Windows 10 upgrade. It may be the only one, I don’t know..

The cause? Norton.. :-) See here..

No, I don’t like Norton or Symantec Anything, but I don’t like any of the other big anti-virus suites either. I have tried them all, and just as I think I have found a good one, the software author trashes it.

Anti-virus programs weren’t always this way. There was a time when nobody really knew if they did anything at all. All we could do was believe what we were told. One thing is for sure, they were supposed to work seamlessly in the background.

They don’t do that anymore. Every now and again, the computer stops doing something that has not been an issue before, and invariably it is the huge anti-virus suite spoiling the party.

Best plan is to use the Microsoft offering. It works seamlessly, never stopping anything that is harmless, and you never get a virus infection because I suspect there is nothing for Windows Defender to stop. ‘Virus infections’ these days refers to popups et al, invited in by the user, not let in by your anti-virus suite.

Removal instructions for DNS Unlocker

What is DNS Unlocker?

The Malwarebytes research team has determined that DNS Unlocker is adware. These adware applications display advertisements not originating from the sites you are browsing.

https://forums.malwarebytes.org/index.php?%2Ftopic%2F172208-removal-instructions-for-dns-unlocker%2F

How to Add Internet Explorer Desktop Icon in Windows 10

Windows includes the common This PC (aka: Computer), User’s Files, Network, Recycle Bin, and Control Panel shortcuts that you can add or remove as icons on your desktop.

This tutorial will show you how to add or remove an Internet Explorer desktop icon for your account in Windows 10.

The Internet Explorer desktop icon will have Open Home Page, Start Without Add-ons, Start InPrivate Browsing, and Properties (Internet Options) included in it’s context menu.

Read more…

How to Install Your Apps from My Library in the Store in Windows 10

The Store app in Windows 10 has a My Library feature that shows you all of the apps, games, music, and movies & TV that you installed on all devices while signed in with your Microsoft account. My Library in the Store makes it easy to quickly download and install an app or game owned by a Microsoft account to any account (local or Microsoft) on any Windows 10 PC or device.

My Library in the Store can be useful if:

•You want to see all the Windows apps you own for your Microsoft account.
•You uninstalled a Windows app, and would like to reinstall it.
•You would like to install and app owned by your Microsoft account to another local account or Microsoft account.

This tutorial will show you how to use My Library in the Store to install your Windows apps to any account in Windows 10.

Read more…

Interception in .NET – Part 2: Dynamic Interception

This is part two of a series of posts on interception in .NET. You can find the first part here.

Interception Targets

There are two possible targets for interception:

  • Types, such as classes or interfaces;
  • Instances of classes.

Depending on the target, we can use different interception techniques.

Interception Techniques

In .NET, like in other OOP languages, we have the following interception techniques:

  • Virtual method interception: this is a type interception technique by which we subclass dynamically a target type – an interface or a class, since structures do not allow subclassing – and add method overrides for the methods we want to intercept. Of course, only virtual methods can be intercepted (abstract methods and interface methods are treated as virtual); the interceptor returns an instance of the dynamically generated subclass of the target type, which is treated exactly as if it were this target type;
  • Interface interception: an instance interception technique. There has to be an existing object for us to intercept, and it must implement one or more interfaces. We can intercept any method or property exposed by one of these interfaces; basically, the generated interceptor code sits between the exposed interface and the existing target;
  • Transparent proxy interception: another instance interception technique. The target types must either be interfaces or classes inheriting from MarshalByRefObject, one instance of which should exist. It is possible to intercept any interface methods or any method declared in the MarshalByRefObject-derived class; the interceptor acts as a proxy between the exposed interface or class and the actual object;
  • Context-bound object interception: this a .NET-specific interception technique for instance interception by which we can intercept any calls to objects of classes inheriting from ContextBoundObject. This one is not as generic as the others because we need to have our class inherit from ContextBoundObject, which we wouldn’t normally do, and add some boilerplate code.

Next

Next post will talk about static interception.

Recent Comments

Archives