ACT! “Web” Plugins ACC Webinar (Part 1of 2) Brian Mowka and Jamie Aurand December 2010.

Slides:



Advertisements
Similar presentations
Tridion 5.3 Templates.
Advertisements

IEs Protected Mode in Windows Vista TM January 20, 2006 Marc Silbey Program Manager.
AEPs from TNHG at ACT! Visions 2005 ACT!2005 Enhancement Products from The New Hampton Group.
Saurabh Bhatia Program Manager Microsoft Corporation Andrew Whitechapel Senior PM Microsoft Corporation TL01.
Introduction to .NET Framework
Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
© Leaf Solutions, LLC. All Rights Reserved What’s New in Everett Microsoft.Net V1.1.
Version Control System (Sub)Version Control (SVN).
Web Server Programming
Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies.
NetAcumen ActiveX Download Instructions
Hello Vaadin! CS 3130 Summer 2015.
Becky Bertram SharePoint MVP
DEV450 Visual Studio: Best Practices For Debugging Managed Applications Habib Heydarian Scott Nonnenberg Program Managers Microsoft Corporation.
1 ClickOnce: Advanced Topics in Web Based Application Deployment for Windows Forms and Avalon Jamie Cool Program Manager Microsoft Corporation Jamie Cool.
Tutorial on Visual Studio express Introduction Visual Studio Express Editions are a new line of Microsoft development Tools. This line of products.
Chapter 1 Introduction Outstanding Features About This Book 1. A novel writing style is adopted to try to attract students’ or beginning programmers’ interesting.
GPPC Connections 2011 | November 6-8 | Las Vegas, NV Dynamics GP12 Web Client Today and in the Future Kevin Racer, Sr. Program Manager.
Win & Web App Installers with WiX
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
DotNetNuke v4 on ASP.NET v2 Stan Schultes Stan Schultes Enterprise architect / application developer Enterprise architect / application developer Conference.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
CIS 338: Creating ActiveX Controls Dr. Ralph D. Westfall March, 2003.
Visual Basic Advanced Programming.
Genesys Meeting Center End-User Technical Troubleshooting Guide (v1
Scoring Program Updates & XML upload to the NSRCA web site July 2013.
DEV290 Building Office Solutions with Visual Studio Eric Carter Lead Developer Developer Platform & Evangelism Microsoft Corporation.
IT 211 Project Integration and Deployment Lab #11.
How KeePass password safe can save you time and energy
Basic Developer Knowledge That Every SharePoint Admin Must Have Randy Williams, MVP MOSS Synergy Corporate Technologies
Updating FireRMS Presented by Dan Cook Implementation Team Lead ZOLL.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Putting Applets into Web Pages.  Two things are involved in the process of putting applets onto web pages ◦ The.class files of the applet ◦ The html.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
Excel Connector for JIRA Installation and functional presentation.
DEV339 Best Practices for Debugging Visual Studio.NET Applications Keith Pleas Architect, Guided Design
Sage ACT! 2013 SDK Update Brian P. Mowka March 23, 2012 Template date: October 2010.
.Net – The First Glance What Is.Net, Why Use.Net.
.NetDeploymentNOEA / PQC 2005 Application Deployment and Versioning Source: Joe Hummel, kursus i.Net, jan
Reset and Recycle IIS Reset Application Pool Management Error Codes New HTTP Sub-status codes Custom/Detailed Errors Tracing in IIS7 and.
NT4 SP4 Security Jack Schmidt - Fermilab
Module 2: Using Microsoft Visual Studio.NET. Overview Overview of Visual Studio.NET Creating an ASP.NET Web Application Project.
Sep. 18th 2006 Stefan Koestner Installation Guide ECS-tools for the CCPC/Tell1 (Installation): Many problems/user- requests already arises when installing.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
This is the main tracing and diagnostics presentation. Very important that this be practical and useful information. IT Pro audience is very.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
March 7th 2005 Stefan Koestner LHCb week ECS-tools for the CCPC/Tell1 (Installation): Many problems/user- requests already arises when installing the framework.
SQL SERVER 2008 Installation Guide A Step by Step Guide Prepared by Hassan Tariq.
CIS 375—Web App Dev II ASP.NET 1 Getting Started.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
Navigation Framework using CF Architecture for a Client-Server Application using the open standards of the Web presented by Kedar Desai Differential Technologies,
Tips and Tricks for Debugging ASP.NET Web Applications and Services Habib Heydarian TLNL05 Program Manager Microsoft Corporation.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
Sage Franch | Technical Evangelist Susan Ibach | Technical Evangelist.
 Lecture  Website language: ASP.net  Book name Beginning ASP.NET 4 in C# and VB 2.
Introduction ITEC 420.
Environment Manager Troubleshooting and Debugging
Active Server Pages ASP.Net
Principles of report writing
Web Development in Microsoft Visual Studio 2013
.NET Debugging for the Production Environment
Web Development Using ASP .NET
CS 240 – Advanced Programming Concepts
Introduction to ASP.NET Parts 1 & 2
Blazor A new framework for browser-based .NET apps Ryan Nowak
Selenium IDE Installation and Use.
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

ACT! “Web” Plugins ACC Webinar (Part 1of 2) Brian Mowka and Jamie Aurand December 2010

Agenda Web plugin Intro Getting started Common questions Writing your first web plugin −Plugins example −Debugging a plugin Tips Q&A

What is an ACT! Web Plugin Any.NET assembly that implements ACT’s Web plugin interface is technically an ACT! plugin Web Plugins add or enhance functionality in the web edition of ACT! −Common examples: o Add a user control (like a button) to an ACT! web view o Add a tab (with designated controls) to an ACT! web detail view Plugins can be added to ACT! without the need for any changes to ACT! assemblies themselves IE: you already have what you need to begin development of plugins when you install ACT! The only limitation of what can be done is your imagination, technical abilities, and anything we specifically restricted for security or stability purposes.

What it takes to get started Visual Studio −You can also use the express versions of VS tools (free to download) o MS Expression Studio −You can develop an ACT! Web plugin in any.NET language –ASP.NET, VB.Net, C#, etc… o But: you can’t mix.Net languages within an Assembly, so… your code wthin your plugin must use the same language (Note: VS limitation, not.NET limitation) o Different plugins can use different languages – One plugin can be written in VB.Net the other in ASP.NET and work on the same ACT! system −Build your plugin against the earliest version of ACT! you want to support o plugin references are generally forward compatible but not backward compatible version wise −Suggestions o Consider source control tools to help manage your plugin source code – always a good practice o ACT! v distributes.Net framework 2.0 – if you use newer versions of Visual Studio (2008 and above) your projects will default to compile to.Net 3.5 (or higher), these plugins will work but you need to manage distribution of required.Net frameworks o Starting ACT! 2011 (Shipped Sept. 1 st 2010).NET 3.5 is now installed as part of ACT! installation.

Common Questions Where do Web plugins go? −Web: o (Note: C:\ is simply the drive installed ON THE SERVER, could be d:\, e:\, etc ) Can I write one plugin that works for windows AND web? −YES – But it must be deployed in different locations (Note: windows - ACT\Act for Windows\Plugins) *AND* the interfaces it implements are different. How can I tell if a Web plugin failed too load? −It failed if the name of the assembly is in this look here: "C:\Program Files\Act for web\plugins\DependentDlls.xml“ (Not in the “users” folder like windows) −Also in the servers windows event log there should be a line that states "Error loading file " + assemblyName + " in the Plugins folder."

Common Questions If my plugin failed to load how can I correct this? −First delete dependentdlls.xml (this will be in your ACT! “Plugins” folder”) −Reset IIS (Warning: This will boot all users out who are logged in) Where do I put any dependent assemblies that my web Plugin assembly requires to be available? −You can put them in the web plugins folder (server machine) or the Global Assembly Cache (VS debugging add to web install path) Will my web plugin work on the next version of ACT!? −Yes, with the following exceptions. o A method you are dependent on has been changed/moved/removed. We try to avoid this at all costs, but there are circumstances where we have had to do this. Also, we try and give one year warning if we plan on removing methods by marking the method [obsolete].

Common Questions How does ACT! know what assemblies are web plugins? −It simply loops through all the assembly files in the web Plugins directory and probes the assembly to see if it implements the following interface: o Act.Web.Framework.IWebPlugin When do plugins get loaded in ACT!? −They get loaded early in startup – BEFORE – any logon has begun o BUT: The “Init()” method is not called until after “OnFrameworkLogon” event When do they get unloaded? −When the Act for web application pool is reset or IISReset is called.

Common Questions What browsers are web plugins compatible with? −Firefox 3.51 and IE 7, 8 (soon 9) How do I get access to the UI and Framework in a Web Plugin? −“Init()” is called when the “OnFrameworkLogon” event is fired −void Init(ACTSessionManager session); o The session object has direct access to the Framework (UI can be done directly with various ACTSessionManager functions.) o Example: Adding a tab to contact detail view… (You write ServeCustomTab) session.LayoutTabs.AddCustomTabProvider(LayoutType.Contacts, new Act.Web.Framework.CustomTabProvider(this.ServeCustomTab));

Differences between windows and web plugins Windows Plugins get unloaded when you logout of your database, web is when app pool is reset Locations of dependentdlls files are different There are no “Client side” events in web Debugging is more difficult as you may have to debug asp.NET/managed code OR jscript which are different options when attaching to debugger Your code is running on the server, not the client, if you need to launch something (an exe for example) you need to have that installed on the client Also, if you wish to develop anything with silverlight, make sure that the silverlight runtime is installed on client

DEMO Let’s write a web plugin! −Attaching debugger −Fixing plugin −Re-deploying plugin

Tips IISReset is a developers friend – use is whenever you need to re-test to make sure web environment is clean Use the event log when in doubt of plugin loading success/failure Remember to change your debuger to jscript if debugging jscript (Not managed)! Assemblies need to go in the bin folder if they contain the code behind for an aspx file (but the dll that implements IWebPlugin needs to go in plugins dir!) Is there anywhere I can get examples or more resources? −Go to our message board at: o

Q/A Any Questions?