web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

DotNet replacement in AL

(0) ShareShare
ReportReport
Posted on by 453

Hi all

I am in the middle of converting C/AL to AL. 

I want to know if anyone have a workaround for replacing the DotNet's.

One of the error is this one.

 AuthCookie : DotNet "'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.Cookie";

Error: DotNet is not reconized as a valid type. 

How can I rewrite the code to be able to build the app?

*This post is locked for comments

I have the same question (0)
  • Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    DotNet data type are not supported with AL. You've to rethink to this part of code you want to migrate without using them.

  • Verified answer
    keoma Profile Picture
    32,729 on at

    dotnet datatype was removed from AL vs. 2.0. you can use  web service calls with httpclient instead.

    links for new datatypes in AL, which replace .net datatypes:

    https://docs.microsoft.com/de-de/dynamics-nav/developer/devenv-restapi-overview

    http://vjeko.com/state-net-affairs/

    http://www.kauffmann.nl/2017/06/24/al-support-for-rest-web-services/

    http://vjeko.com/invoking-azure-functions-al/

  • Verified answer
    Natalie Karolak - the BC Docs Librarian Profile Picture
    1,955 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans