using Microsoft.SharePoint;
using System.ComponentModel;
using System.Web.UI.WebControls.WebParts;
[ToolboxItemAttribute(false)]
public class ExampleWP : WebPart
const string c_webServUrl = "http://PWIBOSTRMA1HV3:8090/api/AccessOperationsReporting";
const string c_appKey = "3DCB7061-6F79-43BC-9BD0-CF835BB86829";
private string _webServUrl;
[WebBrowsable(true), Personalizable(PersonalizationScope.Shared), Category("AccessOperationsAgingWebParts"), WebDisplayName("Web Service Url"), DefaultValue(c_webServUrl)]
[WebBrowsable(true), Personalizable(PersonalizationScope.Shared), Category("AccessOperationsAgingWebParts"), WebDisplayName("Application Key"), DefaultValue(c_appKey)]
public string ApplicationKey
_webServUrl = c_webServUrl;